Quantcast
Channel: VBForums - API
Viewing all articles
Browse latest Browse all 168

FTPPutFile and Progress Bar

$
0
0
I have successfully made a Download routine in an FTP program by placing a routine under INTERNET_STATUS_RESPONSE_RECEIVED flag in a FTPCallbackStatus Function when using FTPGetFile. This grabs the Bytes being downloaded by using the MoveMemory function then sends the Bytes to a Progressbar. However, I cannot get Bytes to show in an Upload routine using FTPPutFile. The only flag I can get moving memory information is from the INTERNET_STATUS_HANDLE_CREATED flag, but it doesn't show "moving" memory; It will show 1 hunk of memory then go to 100%. The Progress bar finishes before the Upload is complete. Any suggestions as to how to extract the "moving/uploaded" Bytes using FTPPutFile or one of the FTP flags?

Thank you in advance for any help.

Viewing all articles
Browse latest Browse all 168

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>