> Unfortunatly I stiill get the same error. :-(

The same "metaclass bases[]" error??

> Here is the code:
> import ftplib
-snip-
> if __name__ == '__main__':
>       ftp = ftplib.FTP("ftp.sadpanda.cjb.cc")
>       ftp.login("sadpanda","PASSWORDEDITIEDOUT")
>       filename = "/FrenchBrochure.pages.zip"
>       ftp.storbinary("STOR " + filename, ProgressFile(filename, "rb"), 1024)
> 
>       ftp.quit()


Your code works for me.. I just made one minor change.

I gave a different target name:

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

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

Reply via email to