SFTP Moving files

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
lkomala
Premium Member
Premium Member
Posts: 4
Joined: Wed Jun 04, 2014 6:48 am

SFTP Moving files

Post by lkomala »

I am able to get the files from sftp site to local folder.
How do i move files in sftp site to Archive folder.

Need to move file in the SFTP site from landing folder to archive folder.

Thanks
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

How are you performing the SFTP right now? Basically it's just an O/S command to move the files but you would have to have permissions to be able to do that... which is not necessarily a given.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Depending on which SFTP tool you are using, it may allow an "after" command that can be executed on the source site; if so, you could use an appropriate command (such as COPY or MOVE) to move the file to an archive folder.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply