Ok. I got it. :)
You have your file trigger. Great. Order will matter here... so do a List Files as you had mentioned.
For the FOLDER that the list-files is looking in, use the following variable, as its the folder where the TRIGGER.TXT was found:
Include file Mask: *.csv
Then, Create an archive task that runs directly after list files and set the 'Archive Path' location to this:
What that does is take the output from your 'List Files' task (full path to the file including the csv extension) and replaces 'csv' with 'zip'.
On the CONTENT tab of the archive task, Add an item and use the same value as the list files path:
Include File mask: *.csv
For the FTP/SFTP upload, you'd also use this value for the folder and *.zip for the file mask:
I'm also assuming that you're deleting the zip file from that folder after it sends. Thats why I used the *.zip for the file mask to upload. If you need the specific file name, i can make a variable for that too.
That make sense?
Edited by user
| Reason: Not specified