Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Scripted "mv" of folder doesn't work but same works in WinSCP command.

supermankelly wrote:

But doesn't work when passing as a command with "open sftp"

Can you show us your script?
supermankelly

Scripted "mv" of folder doesn't work but same works in WinSCP command.

Hi,

This works fine when I run it from the WINSCP command$ (within the app). 201908291500 is a folder.

mv 201908291500 Sent_Archive/201908291500


But doesn't work when passing as a command with "open sftp"

Any ideas why and how I script a move of a remote folder.

Thanks!
Andrew