On 2009-01-06, Jeremy.Chen <you...@gmail.com> wrote: > ftp.storbinary("STOR ftp-tst/ftp-file\n", fl) > ---------- > I think the params after STOR should't be a path,should be splited. > ftp.cwd("ftp-tst") > ftp.storbinary("STOR ftp-file\n", fl)
No that isn't the problem. The problem is the '\n' at the end of the string. Having removed it, all worked fine. -- Antoon Pardon -- http://mail.python.org/mailman/listinfo/python-list