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

guest

Sorry,
but afer I look into the documentaion again, I found the right hint:
winscp.exe /console /script=example.txt
Martin
guest

How to embedded a script into a program-code

Hello,
I want to use WinSCP in a self-written scheduler but I didn't find any hints how to do it.
I have a txt-File with all command's (we assume, the command's are correct), but how I make the connction between my programm and the script-file.
When I work with the command-line-Box from windows, it is no problem to start WinSCP with the console-Parameter, but then I get a new box. In this box I can write the command's and this works.
How looks a complete batch-command, which assign my txt-file to WinSCP and execute this?

Thanks for help
Martin