Visitor76 2022-02-04 14:41 Martin, can you explain what is wrong in the script? I used the same script (Second line) on our old FTP site that was on Windows.
martin Re: Batch File will not rename files on FTP Server 2022-02-03 It's just all wrong. See https://winscp.net/eng/docs/guide_automation https://winscp.net/eng/docs/faq_batch_file#cmd
Visitor76 Batch File will not rename files on FTP Server 2022-02-02 14:19 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: @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 What am I doing wrong? Thank you.