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


Unknown command ''.

I have just recently installed WinSCP 5.7.7 for the first time, and it's installed under

C:\Program Files (x86)\WinSCP

I am trying to automate a simple script to upload only the newest files added to a directory to the FTP server but I am having problems just getting the script to run.

ftp.bat file /script="C:\AutoRun\ftp-script.txt"


ftp-script.txt file /log=ftp.log /command ^

    "open" ^
    "put -latest C:\Users\Dan\Documents\Test\* /

Running the ftp.bat files give the following error
"Unknown command ''."

No idea what could be going wrong?