Topic "Renaming file after downloading"

Author Message
Guest




I have a script with this command
Code:
# Upload the file to the remote target directory
put -nopreservetime "%4%"


and i would like to rename file which transfer( but i don't know what is file name) and command
Code:
mv %4 %4.ok
not work = result file not found

could you help me ?

Thanks
Guest




Code:
mv "%4" "%4.ok"

not work too with same error message
Guest




We used %1 like windows
Winscp script used %1%


issue solved
Thanks to me Shocked
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License