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


Please start from the scratch using the links I have posted.

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.

Batch File will not rename files on FTP Server


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 s
REN // File_%date:~4,2%%date:~7,2%%date:~10,4%.txt

What am I doing wrong?

Thank you.