Post a reply

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)


Topic review


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 

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.