Differences

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

2015-08-24 2015-08-24
winscp script runs in batch mode now (martin) more emphasis on using hostname with open command + formatting (martin)
Line 42: Line 42:
===== [[credentials]] Converting Credentials ===== ===== [[credentials]] Converting Credentials =====
-The ''ftp.exe'' client, when hostname (''host'' parameter) is specified on command line and unless ''-n'' parameter is used, needs username and password specified as the first lines of the script. With WinSCP it is not recommended to specify hostname on command-line and username and password come as arguments to ''[[scriptcommand_open|open]]'' command.+The ''ftp.exe'' client, when hostname (''host'' parameter) is specified on command line and unless ''-n'' parameter is used, needs username and password specified as the first lines of the script. With WinSCP it is recommended to specify hostname together with username and password as arguments to ''[[scriptcommand_open|open]]'' command.
For example, command ''ftp.exe %%ftp.example.com%% -s:script.txt'', with ''script.txt'' starting: For example, command ''ftp.exe %%ftp.example.com%% -s:script.txt'', with ''script.txt'' starting:
Line 52: Line 52:
</code> </code>
-converts to command ''winscp.com /script=script.txt'', with script.txt starting:+converts to command ''winscp.com /script=script.txt'', with ''script.txt'' starting:
<code winscp> <code winscp>

Last modified: by martin