GetFiles then DeleteFile processing - WeOnlyDo Discussion board

GetFiles then DeleteFile processing (General questions)

by Ogedei, Tuesday, June 23, 2009, 23:22 (5631 days ago)

I am trying to download a directory of files and then delete them. I want to use the event driven method so if a file files I can carry on.

This is what I am doing.

Display Start
Connetct to FTP
Display Connected
Display GetFiles
GetFiles
Display Done

LoopItemEvent
Display Downloading

Output is
Start
Connected
GetFiles
Done
Downloading (repeat per file)

So if execution does not halt at getfiles how do I do the delete process when the GetFiles process does not pause execution.

How do I pause execution?


Complete thread: