By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,057 Members | 1,401 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,057 IT Pros & Developers. It's quick & easy.

ftp multiple files

P: 4
Hi this is a great site thanks.
Im trying to make a program that uploads sevral files to a ftp site.
ive been using ,
http://www.vb-helper.com/howto_ftp.html
which has taught me how to upload one file.
ive tryed seval loops but it always trys to loop before the first file has finished
my files are numbered 001 - 008 i have a maximum of 8 . I have a variable which tells me how many files
thanks in advance
Nov 12 '06 #1
Share this Question
Share on Google+
4 Replies


Expert 5K+
P: 8,434
Have you tried checking the StillExecuting property?
Nov 12 '06 #2

P: 4
Have you tried checking the StillExecuting property?
hi no how would i do that
thanks for your quick reply
Nov 12 '06 #3

P: 4
inetFTP.Execute , "Put " & txtLocalFile.Text & " " & txtRemoteFile.Text
Do While inetFTP.StillExecuting
DoEvents
Loop
Next
thanks ive worked it out
cherrs for your input
Nov 12 '06 #4

Expert 5K+
P: 8,434
inetFTP.Execute , "Put " & txtLocalFile.Text & " " & txtRemoteFile.Text
Do While inetFTP.StillExecuting
DoEvents
Loop
Next
thanks ive worked it out
cherrs for your input
Excellent! I'm glad you worked it out. As you can see, you would have had to wait quite a while for a response - at least from me, anyway.

Besides, I think lessons "stick" better when you work it out rather than being told. Plus it's more satisfying, am I right? :)
Nov 12 '06 #5

Post your reply

Sign in to post your reply or Sign up for a free account.