SFTP File Loop with RT 6.4.4.881 doesn't work as expected

Discuss RoboTask here
Post Reply
fneurieser
Posts: 6
Joined: Wed Apr 27, 2011 3:05 am
Location: Austria
Contact:

SFTP File Loop with RT 6.4.4.881 doesn't work as expected

Post by fneurieser »

Hello out there,

We are connecting to a SFTP-Server and should download the data stored in special directories. The structure on the SFTP-Server looks like:

a) from root
Image

b) within the FROM_ folder
Image

c) within the second date-folder
Image

d) therefore I created a variable named SCANPOINT_FTPPATH with the value "FROM_" and used it in SFTP File Loop command

d.1)
Image

d.2)
Image

d.1) and d.2) are showing different notations for the remote folder/file mask which I tried.

What I need to do is:
getting all files from within the second date-folder (c) but not all at one. There has to be another loop so that I'm able to check if the file belongs to a special member. If it's okay, I've to rename the remote-file, download it, rename back the local-file and delete the remote-file (one after another).
Are there no files in the date subfolder, I've to grab the next date-folder and check as described above.

With RT 7 my script works, but not with RT 6.4.4.881 and I don't know why not.

Can anyone give a hint?

Unfortunately there is no chance to upgrade RT on the productiv Server to RT 7 at the moment, cause there are too many tasks which have to be handled.

Are the tasks created with RT 6.4.4.881 fully compatible with RT 7?
Is there a known issue with SFTP on RT 6.4.4.881?

Hope somebody can help me.

Best regards
Franz-Georg
Post Reply