468,299 Members | 1,114 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,299 developers. It's quick & easy.

ftp multiple files

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
4 2196
Killer42
8,434 Expert 8TB
Have you tried checking the StillExecuting property?
Nov 12 '06 #2
Have you tried checking the StillExecuting property?
hi no how would i do that
thanks for your quick reply
Nov 12 '06 #3
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
Killer42
8,434 Expert 8TB
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.

Similar topics

3 posts views Thread by Arun | last post: by
5 posts views Thread by vj | last post: by
6 posts views Thread by Steven | last post: by
10 posts views Thread by kimiraikkonen | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.