login about faq

Can I use the MPutFiles command available from the FTP2 library to upload hundreds of files? The command works incredibly well (updating progress bar, etc.) when uploading 10-20 files but when uploading hundreds of files, the VB.net application becomes unresponsive - which is confusing to the user. Interesting enough, however, the app is actually continuing the upload process. How can I keep the application "awake" so the user doesn't assume it crashed?

I have also noticed that in the debug environment the application runs perfectly (without appearing unresponsive).

Thanks in advance for your guidance and expertise. I am brand new to this so I apologize. I did search the forum but couldn't find any topic covering this particular issue.

asked Sep 15 '14 at 14:27

Tirendi's gravatar image


I think I may have found the issue. The example I used when writing the code used a value of 1000 for the ftp.msSleep call. When I increased this to 30000 (yes, that seems excessive to me) - the program does not get hung up or appear to be "Not Responding".

I just uploaded over 500 files (about 180KB each) and the program worked perfectly. Thank you Chilkat for your amazing work... what a time saver!


answered Sep 15 '14 at 17:34

Tirendi's gravatar image


Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Sep 15 '14 at 14:27

Seen: 985 times

Last updated: Sep 15 '14 at 17:34

powered by OSQA