Re: Multiple calls to PutFile (General questions)
Drazen,
Thank you for your reply. I may not have explained my question clearly. What i'm trying to do i get multiple files to upload to the server at once.
Using the techniques described in your knowledge-base, multiple files would be uploaded however the 2nd file would not begin until the 1st file was finished etc. What i'm trying to do is get all files to upload at once in parallel.
Thanks,
Chris
Hi Chris,
When file is uploaded to server Done Event is fired and you can procedure with next file for upload.Before each PutFile line in your code you can put some variable with different value. For example for first file you can put value first file . When Progress Event or Done Event is raised you can check what is value of that variable and that will show you which file is uploading in Progress Event and in Done Event will show when file is uploaded. For first file in my example value will be first file .
In our Knowledge base you can find example how to upload multiple files in non blocking mode:
http://www.weonlydo.com/index.asp?kb=1&View=entry&CategoryID=5&EntryID=46It is for wodSFT but same is for wodFtpDLX.
Hope this helps.
Regards,
Drazen
Complete thread:
- Multiple calls to PutFile - Chris S, 2007-09-06, 16:25
- Re: Multiple calls to PutFile - woddrazen, 2007-09-06, 16:44
- Re: Multiple calls to PutFile - Chris S, 2007-09-06, 16:55
- Re: Multiple calls to PutFile - woddrazen, 2007-09-06, 17:07
- Re: Multiple calls to PutFile - Chris S, 2007-09-06, 16:55
- Re: Multiple calls to PutFile - woddrazen, 2007-09-06, 16:44