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

Advertisement

supermankelly
Joined:
Posts:
10
Location:
Essex

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

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,454
Location:
Prague, Czechia

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?

Reply with quote

Advertisement

You can post new topics in this forum