Topic "How to embedded a script into a program-code"

Author Message
guest

Guest


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
guest

Guest


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

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License