Page 1 of 1

Files not downloaded with SFTP File Loop

Posted: Tue Jul 04, 2023 12:38 pm
by sarnusch
Hello,
I am having trouble with downloading files from a SFTP.

Uploading to the same SFTP into the folder 'IN' works without problems.
Downloading one specific file with from SFTP folder 'OUT' the action 'SFTP Download' also works fine.

But in the folder 'OUT' there is more than one CSV file.
So I want to use the 'SFTP File Loop' and in the loop I want to use the action 'SFTP Download' with the variable file name from SFTP File Loop.
After testing a lot like individual folders, root path and different files (like *.csv) in the 'Remote folder and file mask' field in SFTP File Loop I can not get it to work.
RoboTask shows the Step 'SFTP File Loop' but it seems that the system does not find any files.

sftp_file_loop_error.png
sftp_file_loop_error.png (20.14 KiB) Viewed 2972 times

Re: Files not downloaded with SFTP File Loop

Posted: Tue Jul 04, 2023 1:57 pm
by Oleg
I need to see parameters of SFTP file loop step
It's better if you can send the taks to me to oleg(at)robotask.com. You can remove your login info.
Also I want to see the complete task log

Re: Files not downloaded with SFTP File Loop

Posted: Tue Jul 04, 2023 2:28 pm
by Oleg
I just tested sFTP file loop. It works.

Re: Files not downloaded with SFTP File Loop

Posted: Wed Jul 05, 2023 2:42 pm
by sarnusch
Hello Oleg,
I just sent the required information to you via mail.

Re: Files not downloaded with SFTP File Loop

Posted: Wed Jul 05, 2023 7:53 pm
by Oleg
Use OUT/*.csv in sFTP file loop mask
or put the shlash before home
Like this
/home/username/... and so on

I have sent detailed explanation by email

Re: Files not downloaded with SFTP File Loop

Posted: Wed Jul 12, 2023 8:17 am
by sarnusch
Problem is solved with new version!
Thanks!