FTP question

wideweb 22 Jul 2010 02:00
I just got myself a new web host. I uploaded a clip to it and now I want to copy the file from the host to P5, just like iSyndica. Can anyone tell me how to do that?
dnavarrojr 22 Jul 2010 09:13
You have to write or purchase software stored on your web host that will do that for you.
wideweb 22 Jul 2010 09:26
I am not a software person, and the administrator of that host did not know the name of such software. Can you suggest one?
dnavarrojr 22 Jul 2010 18:11
I have no idea since I have no idea what platform your host is using. I used to own a hosting company with my ex-wife and we used the Windows platform for our web hosting. But most hosting companies today use Linux and I'm not familiar with it.
wideweb 23 Jul 2010 00:14
20 years ago I used ftp via the Telnet interface. Now I do not remember the commands.

They are using Apache.
DogPhonics 23 Jul 2010 12:17
Why not just use iSyndica? Especially if you are uploading to numerous sites. I do. Major stress reduction, well put together functions and good support. Hasn't paid for itself yet, but I have uploaded my entire portfolio, upwards of 350 video files.
marcus 23 Jul 2010 15:34
I would really recommend Python for most automation of boring batch like tasks. Uploading a file in Python would essentially boil down to:

import sys
import pycurl
import os

if __name__ == "__main__":
    dirList=os.listdir('.')
    for filename in dirList:
        ch = pycurl.Curl()
        with open(filename) as infile:
            ch.setopt(pycurl.UPLOAD, True)
            ch.setopt(pycurl.URL, "ftp://marcus:password@ftp.pond5.com/" + filename))
            ch.setopt(pycurl.READDATA, infile)
            ch.perform()
            ch.close()


http://python.org/ has excellent tutorials to get you started.

http://pycurl.cvs.sourceforge.net/pycurl/pycurl/examples/ has some examples too.
wideweb 23 Jul 2010 15:46
Marcus, you are a life saver. BTW, your password is missing from the code (;-)