copy and rename

Advertisement

veritech
Joined:
Posts:
1
Location:
London, Ontario

copy and rename

Is there a way to copy a file from a ftp server to the local machine and rename the file at the ftp server?

ex. script
open sftp://xxxxxxxxxx
cd /customer
lcd c:\ftpsrv\customer
mget -neweronly filename*.txt  
exit
this allows me to download the file to the local folder, but I don't see a way to get the filename to rename it.

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum