How to move multiple files between SFTP Folders

518 views
Skip to first unread message

RKO437

unread,
Apr 22, 2016, 2:49:21 PM4/22/16
to COZYROC
I was able to do for single file using rename files in the SFTP task, I want to know how i can do without knowing filenames.

Ivan Peev

unread,
Apr 22, 2016, 3:20:13 PM4/22/16
to COZYROC
Hi,

If you don't know the file names, what do you know? Please provide more details.

RKO437

unread,
Apr 22, 2016, 3:35:24 PM4/22/16
to COZYROC
Hi Ivan,

I have couple of files in Remote Folder, want to move them to different location.

I can depend only on extension of files .CSV

In Winscp I was able to issue batch commands like 

echo option batch on > script.tmp
echo option confirm off >> script.tmp
echo open FtpProfileName >> script.tmp
echo option transfer binary >> script.tmp
echo cd /inbound/AUTO >> script.tmp
echo mv *.csv /inbound/Completed/ >> script.tmp

I want to accomplish this using SFTP Task.

Thanks for your comment.

Ivan Peev

unread,
Apr 22, 2016, 4:54:42 PM4/22/16
to COZYROC
In the SFTP Task specify:

OldName : /inbound/*.csv
NewName: /inbound/Completed/
Reply all
Reply to author
Forward
0 new messages