Discussion:
InternetWriteFile Hangs
(too old to reply)
Ganesha
2006-11-14 10:19:01 UTC
Permalink
Hi

I am using FtpOpenFile and InternetWriteFile to send the file to an ftp
server. InternetWriteFile function just hangs the entire program when its
called. The file size is aroung 5MB. The function hangs when it is called the
third time. Can anyone please let me know what needs to be done to resume the
program. It doesnt return any error code. It just hangs and i have to kill it
through task manager. Please let me know if there is a solution or how to cum
across it.



Thank you
Vladimir Scherbina
2006-11-15 09:07:19 UTC
Permalink
Ganesha,

Can you break in the debugger and put some code here? As we discussed here
recently, such problems may occure from time to time on the machines that
have AV/FW software installed.
--
Vladimir (Windows SDK MVP)
Post by Ganesha
Hi
I am using FtpOpenFile and InternetWriteFile to send the file to an ftp
server. InternetWriteFile function just hangs the entire program when its
called. The file size is aroung 5MB. The function hangs when it is called the
third time. Can anyone please let me know what needs to be done to resume the
program. It doesnt return any error code. It just hangs and i have to kill it
through task manager. Please let me know if there is a solution or how to cum
across it.
Thank you
Loading...