Re: Trying to PutFiles to a remote site (General questions)
It looks like it's only calling done once, on the putfiles
but, could it be getting called from another event
I'm connecting and executing the following
I guess I'm trying to find the best place to execute the putfiles
and the best place to execute the disconnect
I do have some message statements
in the progress, and loopitem events
the below code seems to only send 1 file
connected event
If ErrorCode <> 0 Then
messagebox('error','stop')
return
end if
p_state = 1
if p_state = 1 then
ole_1.object.putfiles( c: est2 , /sstyer ,0)
p_state = 5
end if
done event
if errorcode <> 0 then
messagebox('error','error message')
close(parent)
return
end if
if p_state = 5 then
ole_1.object.disconnect(true)
messagebox('error', 'finished')
close(parent)
return
end if
messagebox('process','done')
Hi Scot,
Done Even should be fired when PutFiles is finished with execution (when all files are uploaded to server).Did you received some error maybe inside Done Event? Which version of wodFtpDLX you re using? You can check version using wodFtpDLX Version Property.
Regards,
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