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

Re: running script in a line rather than having them in casdcade

agassparkle wrote:

hello,
I am very very new to using winscp with scripting.

Is it possible to run commands like
Put pic1.jpg Put pic2.jpg Put pic3.jpg

Do I understand right, that you want to run everything form a single (WinSCP) command line?
If that's the case, use /command switch:
https://winscp.net/eng/docs/commandline#scripting
See also
https://winscp.net/eng/docs/commandline#syntax
Also WinSCP GUI can generate a template command-line for you:
https://winscp.net/eng/docs/ui_generateurl
agassparkle

running script in a line rather than having them in casdcade

hello,
I am very very new to using winscp with scripting.

Is it possible to run commands like
Put pic1.jpg Put pic2.jpg Put pic3.jpg

rather than
Put pic1.jpg
Put pic2.jpg
Put pic3.jpg

I am generating the file with excel that is why i am looking for a way to do it like this