Hello,

 >      file = "/FrenchBrochure.pages.zip"
 >      ftp.storbinary("STOR " + file, ProgressFile(file, "rb"), 1024)

You are using file = "/FrenchBrochure.pages.zip" (sorry I did not notice 
earlier).

You can not use file as variable name like you have, as it represents a 
file object in python.

Please change your variable name from file to filename.

Thanks.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to