Differences

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

2006-11-06 2007-04-04
Moving local files to different location after upload (martin) 4.0 winscp.exe (martin)
Line 21: Line 21:
Now pass the generated script file as input to WinSCP ((WinSCP [[scripting#console|console interface tool]] supports script on standard input since 3.8.2 only. With earlier versions you need to store the script into temporary file first.)): Now pass the generated script file as input to WinSCP ((WinSCP [[scripting#console|console interface tool]] supports script on standard input since 3.8.2 only. With earlier versions you need to store the script into temporary file first.)):
<code> <code>
-php -q download.php | winscp3.com user@example.com /console /script="%temp%\download.tmp"+php -q download.php | winscp.com user@example.com /console /script="%temp%\download.tmp"
</code> </code>
Line 71: Line 71:
<code> <code>
-winscp3.com /script=example.txt+winscp.com /script=example.txt
if errorlevel 1 goto error if errorlevel 1 goto error

Last modified: by martin