Batch File will not rename files on FTP Server
Hello,
I've created a batch that is designed to open WinSCP, login, and rename the files under a folder on our FTP server. However the batch is not renaming the files. Below is what I have:
What am I doing wrong?
Thank you.
I've created a batch that is designed to open WinSCP, login, and rename the files under a folder on our FTP server. However the batch is not renaming the files. Below is what I have:
@echo off start sftp://Username:Password@FTP.MySite.com:Port REN //FTP.MySite.com/Folder/File.txt File_%date:~4,2%%date:~7,2%%date:~10,4%.txt
Thank you.