Post a reply

Options
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)

Options

Topic review

martin

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

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.
Visitor76

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:
@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.