all groups > iis ftp > september 2006 >
You're in the

iis ftp

group:

Weird behavior with FTP...urgent, please



Weird behavior with FTP...urgent, please ricolee99 NO[at]SPAM gmail.com
9/27/2006 2:38:49 PM
iis ftp: Hi everyone,

I'm getting a weird behavior with ftp whenever I do put.

Here is what I'm doing:

On Windows XP,

using the Windows FTP Client in dos prompt:

1.) ftp> open testmachinename
2.) ftp> user: Anonymous
3.) ftp> password: blah
4.) ftp> get somefile.exe c:\somefile.exe

Everything works great, but my situation is that I am downloading a
large file in step 4, and I have an unreliable network connection such
as dialup.

I kill the dial up connection during step 4, repeat steps 1-4, kill the
dial up connection again in step 4. On the third attempt to download
the file, I get stuck where it says it's downloading the file but it
hangs:

200 PORT command succesful.
150 Opening ASCII mode data connection for somefile.exe


eventually it times out after awhile and I get a message saying:

Connection closed by remote host.


I keep getting this to hang every THIRD attempt after killing the
connection twice during download. It seems like a magic number, after
two tries, it will hang, as if a socket is blocked. Can someone
provide me any pointers?

I appreciate any advice/hints.

Thank you in advance

Eric
Re: Weird behavior with FTP...urgent, please Bernard Cheah [MVP]
9/29/2006 12:00:00 AM
Not weird, experienced this myself on and off with 426 error code.
No apparent reason. upon restart the ftp service + reconnect back, I able to
get the file.
sometime it just hang....... I suspect is the connection / socket handling
in ftp.

--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


[quoted text, click to view]

AddThis Social Bookmark Button