SFTP File Loop Problem

Discuss RoboTask here

SFTP File Loop Problem

Postby salan » Tue Mar 27, 2018 12:56 pm

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
salan
 
Posts: 2
Joined: Tue Mar 27, 2018 12:44 pm

Re: SFTP File Loop Problem

Postby Oleg » Tue Mar 27, 2018 1:58 pm

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

Re: SFTP File Loop Problem

Postby Oleg » Tue Mar 27, 2018 2:04 pm

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

Re: SFTP File Loop Problem

Postby salan » Tue Mar 27, 2018 3:41 pm

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.
salan
 
Posts: 2
Joined: Tue Mar 27, 2018 12:44 pm

Re: SFTP File Loop Problem

Postby Oleg » Tue Mar 27, 2018 6:08 pm

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


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 17 guests

cron