Files not downloaded with SFTP File Loop

Discuss RoboTask here
Post Reply
sarnusch
Posts: 35
Joined: Thu Apr 28, 2022 9:05 am

Files not downloaded with SFTP File Loop

Post 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 2885 times
Oleg
Site Admin
Posts: 3014
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Files not downloaded with SFTP File Loop

Post 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
Oleg Yershov
Oleg
Site Admin
Posts: 3014
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Files not downloaded with SFTP File Loop

Post by Oleg »

I just tested sFTP file loop. It works.
Oleg Yershov
sarnusch
Posts: 35
Joined: Thu Apr 28, 2022 9:05 am

Re: Files not downloaded with SFTP File Loop

Post by sarnusch »

Hello Oleg,
I just sent the required information to you via mail.
Oleg
Site Admin
Posts: 3014
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Files not downloaded with SFTP File Loop

Post 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
Oleg Yershov
sarnusch
Posts: 35
Joined: Thu Apr 28, 2022 9:05 am

Re: Files not downloaded with SFTP File Loop

Post by sarnusch »

Problem is solved with new version!
Thanks!
Post Reply