asc25860
(Maggie Chen)
1
Hi community,
I want to move files to backup folder on remote side after download them by the SFTP server.
That means:
- There is a file named test.txt and a folder named backup in remote folder.
- Get test.txt to my local folder.
- Move test.txt to backup folder and rename it as test.txt.ok.
However, there is only pub.client.sftp:rename
, no copy or moveFile function.
Does anyone have any suggestion or help for that?
Thanks!
Hi Maggie,
according to IS Built-In-Services Reference this should be possible with rename service:
Set oldPath to “test.txt” and newPath to “backup/test.txt.ok” in this case.
HTH.
Regards,
Holger
1 Like
asc25860
(Maggie Chen)
3
Hi @Holger_von_Thomsen ,
! It is working now!
Thank you for your help.
system
(system)
Closed
4
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.