Hi Danny,
I understand now 😁.
What you need to do is dismiss the 5 min Time event trigger and use a 'Even trigger - File' on the watched folder.
When you do this, every time a file comes in the folder, the job will run. Your job has a setting to put it in queue mode, so no file is missing. When you use the file trigger, it will ask you to set it up for you.
In the FTP file upload task, your filename should be the value of the file entered in the watch folder. You need to use the results of the file trigger and that's {TRIGGER(Active|LastTrigger|File.Result.Name)}
In the copy file task after the upload, you need to use the same variable value in the 'Include file mask' field.
Also setup the ftp upload task to stop if the upload fails in the flow and on error tab.
In this way the files in the watched folder are uploaded one at the time and moved. If the upload fails, the file is stil locally there. By replacing (move out/move in) the file is reuploaded.
[Dutch]Succes, je kan het![/Dutch]
Regards,
Erik
Edited by user
2017-05-17T08:45:23Z
|
Reason: typo
Uses Visualcron since 2006.