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


Re: PUT problem with batch

And the question/problem is?

PUT problem with batch

Hello, I starting with WinSCP please help me. I have problem with "PUT" in batch file:
My simple script scriptFTP.txt is:
open ftp://User:Pass@ftp.myserver.xx

cd \Data1\parameters\
Put "D:\Parameters\2020-01-15_Parameters.xls"

My .bat is:
"C:\Program Files (x86)\WinSCP\WinSCP.exe" /command open /ini=nul /script=D:\Parameters\scriptFTP.txt