ftp seems to get a delayed reaction.

Antoon Pardon apardon at forel.vub.ac.be
Wed Jan 7 08:31:06 CET 2009


On 2009-01-06, Jeremy.Chen <you680 at 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



More information about the Python-list mailing list