SFTP File Loop Problem

Discuss RoboTask here
Post Reply
salan
Posts: 2
Joined: Tue Mar 27, 2018 12:44 pm

SFTP File Loop Problem

Post by salan »

Hello,

this is my first post so please be gentle.

We have lots of Tasks with SFTP File Loop. Some of them are working and and the other don't find anything on the Server. All Tasks are the same (except for the servers and access data). How can i debug the Problem or get logs to analyse?

If somebody wish i can post a working and a not working Task.

Thanks in advance
Oleg
Site Admin
Posts: 3000
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: SFTP File Loop Problem

Post by Oleg »

What kind of problem servers?
Oleg Yershov
Oleg
Site Admin
Posts: 3000
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: SFTP File Loop Problem

Post by Oleg »

How can i debug the Problem or get logs to analyse?
You can run PSFTP utility (it is in RoboTask's folder), connect to server manually and use the command "dir" or "ls"
The command should return the list of files and folders. Try this, please

The command "help" returns available commands with short description
Oleg Yershov
salan
Posts: 2
Joined: Tue Mar 27, 2018 12:44 pm

Re: SFTP File Loop Problem

Post by salan »

Hi,

on the server there lots of folders with files. The name of the folders will change every day but this is not important. I just need to make a file loop and download the files in the folders.

I run PSFTP and find all the folders and files. I can see them with filezilla too. But for Robotask it seems to me that it doesn't find any files under these folders.

If you wish i can send you the task direktly to your emailadresse. I cannot post it hear in the forum.
Oleg
Site Admin
Posts: 3000
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: SFTP File Loop Problem

Post by Oleg »

If you wish i can send you the task direktly to your emailadresse. I cannot post it hear in the forum.
Yes, of course. It wold be great. My address is oleg(at)robotask.com

maybe your server use some another format of directory listing. So RoboTask get some parse error and get the empty list.
Once we have corrected similar problem.
We tested sFTP action on Linux SSH, but maybe there are some different versions
Oleg Yershov
Post Reply