Uploading a file with ftplib
michi.goettsche at gmx.de
Thu Jan 1 15:56:09 CET 2004
On Thursday 01 January 2004 15:14, Rene Pijlman wrote:
> >can anybody please tell me how to upload it properly?
> This is a snippet from one of my scripts, that works fine:
> ftp = ftplib.FTP(Hostname,Username,Password)
> ftp.storbinary("STOR " + RemoteZipFile, file(LocalZipFile, "rb"))
> René Pijlman
thank you, works perfect.
More information about the Python-list