Dear all,
I have a question regarding the loop functionality.
I have a list abc.txt with an undefined number of list entries, e.g. 3 entries for the example
abc.txtZZZZ9345
Z0200201
Z030DFGS
I want Visual Cron to go through this list line by line and upload files with identical names which are stored on a share via SFTP to an external party.
This is what I've tried:
1. I created an upload task pointing to the share mentioned with the "Include file mask" {LOOP(CurrentValueXArray,0)}. ( I also tried {LOOP(CurrentValueX)} and {LOOP(CurrentValueXLine)} )
2. I created a loop on this task"For each x in y" and {FILE(Content|D:\abc.txt)}. When I open the "Variable Browser" and insert this line, I can see the three lines of abc.txt
However, when I execute the task, no files will be uploaded to the external party? Could someone please tell me what I'm doing wrong?
I already watched the video on YouTube
https://www.youtube.com/watch?v=hSPLLvBU2Ts which explains loops as well as tried to find a solution in the forum, but I didn't find one. From my point of view the video tutorial deals with the same topic.
Any suggestions?
Thank you in advance and have a good weekend!
Edited by moderator
2015-04-27T19:20:10Z
|
Reason: Not specified