commandline » Revisions »
Differences
This shows you the differences between the selected revisions of the page.
2004-12-31 | 2005-01-05 | ||
no summary (12.31.68.30) | url to file (martin) | ||
Line 3: | Line 3: | ||
<code> | <code> | ||
winscp3.exe stored_session | winscp3.exe stored_session | ||
- | winscp3.exe [(scp|sftp)://][user[:password]@]host[:port][/path] | + | winscp3.exe [(scp|sftp)://][user[:password]@]host[:port][/path/[file]] |
winscp3.exe [session] /upload file1 file2 file3 ... | winscp3.exe [session] /upload file1 file2 file3 ... | ||
winscp3.exe [session] /synchronize [local_directory] [remote_directory] | winscp3.exe [session] /synchronize [local_directory] [remote_directory] | ||
Line 12: | Line 12: | ||
winscp3.exe /help | winscp3.exe /help | ||
</code> | </code> | ||
- | The first syntax opens the stored session. The second creates the session specified by at least hostname, optionaly by name of protocol, port number, username, password and initial remote path. In both cases, when only hostname is known, only Login dialog is shown with pre-filled hostname. Otherwise connection attempt is started immediately. | + | The first syntax opens the stored session. The second creates the session specified by at least hostname, optionaly by name of protocol, port number, username, password and initial remote path. In both cases, when only hostname is known, only Login dialog is shown with pre-filled hostname. Otherwise connection attempt is started immediately. If the remote path is not ended by slash (''/''), it is treated as path to file (or even directory) that should be downloaded. |
With ''/upload'' parameter WinSCP uploads specified files to remote directory of session defined using one of the previous syntaxes. | With ''/upload'' parameter WinSCP uploads specified files to remote directory of session defined using one of the previous syntaxes. |