Differences

This shows you the differences between the selected revisions of the page.

2013-11-18 2013-12-02
"host key" are two words (martin) better scripting command-line examples (martin)
Line 82: Line 82:
<code> <code>
winscp.com /script="C:\Users\martin\Documents\myscript.txt" winscp.com /script="C:\Users\martin\Documents\myscript.txt"
-winscp.com /command "open ""My site"" -hostkey=""ssh-rsa 1024 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx""" +winscp.com /command "option batch abort"·"option confirm off"·"open sftp://martin@example.com -hostkey=""ssh-rsa 1024 xx:xx:xx...""" "exit" 
-winscp.com /command "open ""My site&quot;"" &quot;put &quot;"C:\Users\martin\Documents\myfile.dat""" +winscp.exe /console /script="myscript.txt" /log="myscript.log"
-winscp.exe /console /script="myscript.txt"+
</code> </code>

Last modified: by martin