#1 Hangs & Callback Flag

open
nobody
None
5
2005-11-27
2005-11-27
Anonymous
No

I connect to a FTP server that is very busy and
sometimes leaves me hanging on the FileGet() call to
WinInet.dll. When the call finally does return the
retry logic kicks in and the transfer contines where
it left off. The problem is that this delay is 2-4
minutes.

The Microsoft FTP client just hangs forever and when
I control-C to quit, FTP says that the connection has
been lost. (actually has been closed by FTP)

I noticed that the dwContext parameter is set to "1".
Based on what I can gather from the API docs, this
should only be set to "1" if your using the callback
notification interface. This seems to be commented
out or not finished in FTPGET. I set my copy to "0"
and the transfers seem to run a little faster.

If the author is still checking in from time to time,
a response would be great. I tried to send him a e-
mail but his mailbox is full. (quota exceeded)

John

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks