[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wput: bug-report
Hi,
i now found out what seems to be the problem.
Usually wput sends LIST, the ftp says 150, wput retrieves the listing and
waits for the ftp to say 226...
In your case the connection seems to be too fast so that the ftp-server sends
150 and 226 in one packet, so that wput only reads 150 and waits for the
ftp-server to send 226, what won't happen again and so wput goes on
processing after it received the 450 code.
This is going to be a little hard to fix, since i'll have to rewrite the
receive-function for my own to always return only one line and buffer the
others but this has to be done anyway since on slow connections sometimes the
opposite happens so that there is one respone split into two parts...
Thanks for your help
Hagen
Am Freitag, 9. Juli 2004 21:49 schrieben Sie:
> ==> LIST ... ---->LIST
> 150 Here comes the directory listing.
> 226 Directory send OK.
> done.
> 421 Timeout.
> Directory-Listing:
> -rw-r--r-- 1 505 506 249835 Jul 09 15:29 move_to_testftp1
> -rw-r--r-- 1 505 506 251501 Jul 09 15:29 move_to_testftp2
> -rw-r--r-- 1 505 506 754503 Jul 09 15:29 move_to_testftp3
> -rw-r--r-- 1 505 506 251501 Jul 09 15:32 move_to_testftp4
> -rw-r--r-- 1 505 506 251501 Jul 09 15:32 move_to_testftp5
--
Mit besten Grüßen
Hagen mailto:itooktheredpill@gmx.de
http://itooktheredpill.dyndns.org