Re: Trying to PutFiles to a remote site (General questions)
what I'd really like to do, is execute a single putfiles
but... I'm having trouble trying to determine
where I can execute my disconnect
once all the files have been sent
Scot,
You are using only Connected and Done Event when you execute PutFiles Method?What happens if you add this code inside LoopError Event
[code]ErrorCode = 0[/code]
When you execute PutFile you cannot call multiple PutFile Methods from inside Connected Event.What you can try is to use blocking mode (Blocking Property set to True) and execute commands just after Connect Method.
In that case you should remove code from wodFtpDLX Events. In blocking mode component will go to next line only when he finished with execution of previous line.
Other option is to call PutFile inside Done Event. So when one file is uploaded (PutFile is finished) Done Event will be fired and you can execute next PutFile Method.
Drazen
Complete thread:
- Trying to PutFiles to a remote site - Scot Styer, 2011-04-22, 20:46
- Re: Trying to PutFiles to a remote site - woddrazen, 2011-04-22, 23:07
- Re: Trying to PutFiles to a remote site - Scot Styer, 2011-04-25, 00:13
- Re: Trying to PutFiles to a remote site - woddrazen, 2011-04-25, 10:44
- Re: Trying to PutFiles to a remote site - scot styer, 2011-04-25, 13:41
- Re: Trying to PutFiles to a remote site - scot styer, 2011-04-25, 14:41
- Re: Trying to PutFiles to a remote site - woddrazen, 2011-04-25, 15:34
- Re: Trying to PutFiles to a remote site - scot styer, 2011-04-25, 15:42
- Re: Trying to PutFiles to a remote site - woddrazen, 2011-04-25, 15:34
- Re: Trying to PutFiles to a remote site - scot styer, 2011-04-25, 14:41
- Re: Trying to PutFiles to a remote site - scot styer, 2011-04-25, 13:41
- Re: Trying to PutFiles to a remote site - woddrazen, 2011-04-25, 10:44
- Re: Trying to PutFiles to a remote site - Scot Styer, 2011-04-25, 00:13
- Re: Trying to PutFiles to a remote site - woddrazen, 2011-04-22, 23:07