Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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


Re: Simple uploading script doesn't run

Thanks. This works in cmd:
"C:\Program Files (x86)\WinSCP\WinSCP.exe" /log="D:\Dropbox\Config\WinSCP.log" /ini=nul /script=winscp.txt

Re: Simple uploading script doesn't run

Your command-line is wrong. It should be:

And no option confirm off – that might go into the winscp.txt, but it's default, so it would be redundant.

Also, use for scripting:

Simple uploading script doesn't run

I run this code but the files aren't uploaded. cmd doesn't say anything. Do you know why is that?
"C:\Program Files (x86)\WinSCP\WinSCP.exe" /log="D:\Dropbox\Config\WinSCP.log" /ini=nul /script winscp.txt option confirm off

My file:
open ftp://xnqucuhr5aza:XXX@ 
lcd D:\GitHub\neovis2
cd "/public_html/files/Một hệ thống niềm tin"
put "A belief network.html"
put config.js