getting files with getfiles method (wodFtpDLX / wodFtpDLX.NET)

by scot, (4126 days ago) @ Jasmine

ok... but, how do I tell which method is actually finishing?
the done event will fire when the connection is established
AND.. when the deletefiles finishes
I don't want to do the same code over and over

unless I use a variable to keep track of what stage I'm in

stage = 1
getfiles


in done
if stage = 1
stage = 2
deletefiles
end


move the delete from connected to done

seems excessive

locked

Complete thread: