Differences

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

2016-07-28 2017-01-06
show how to keep using ftp + typo (martin) explicit anchors (martin)
Line 66: Line 66:
The ''-append'' switch is supported with the SFTP protocol only. The ''-append'' switch is supported with the SFTP protocol only.
-==== ascii ====+==== [[ascii]] ascii ====
Use ''-transfer=ascii'' switch for all following file transfer commands (''[[scriptcommand_put|put]]'' or ''[[scriptcommand_get|get]]''). Use ''-transfer=ascii'' switch for all following file transfer commands (''[[scriptcommand_put|put]]'' or ''[[scriptcommand_get|get]]'').
Line 84: Line 84:
Note that WinSCP also supports ''ascii'' command, but its use is deprecated. Note that WinSCP also supports ''ascii'' command, but its use is deprecated.
-==== bye ====+==== [[bye]] bye ====
Use ''[[scriptcommand_exit|exit]]''. Use ''[[scriptcommand_exit|exit]]''.
Note that WinSCP also supports ''bye'' alias. Note that WinSCP also supports ''bye'' alias.
-==== binary ====+==== [[binary]] binary ====
Use ''-transfer=binary'' switch for all following file transfer commands (''[[scriptcommand_put|put]]'' or ''[[scriptcommand_get|get]]''). Use ''-transfer=binary'' switch for all following file transfer commands (''[[scriptcommand_put|put]]'' or ''[[scriptcommand_get|get]]'').
Line 128: Line 128:
Alias to ''[[scriptcommand_close|close]]'' command. Alias to ''[[scriptcommand_close|close]]'' command.
-==== get ====+==== [[get]] get ====
Use ''[[scriptcommand_get|get]]'' command. Use ''[[scriptcommand_get|get]]'' command.
Line 157: Line 157:
Use ''[[scriptcommand_lcd|lcd]]'' command. Use ''[[scriptcommand_lcd|lcd]]'' command.
-==== literal ====+==== [[literal]] literal ====
There are no textual commands in SFTP protocol. You can execute [[remote_command|remote shell commands]] using ''[[scriptcommand_call|call]]'' command. There are no textual commands in SFTP protocol. You can execute [[remote_command|remote shell commands]] using ''[[scriptcommand_call|call]]'' command.
Line 252: Line 252:
WinSCP does not prompt for individual transfers during multi-file transfers, so there's no conversion needed. WinSCP does not prompt for individual transfers during multi-file transfers, so there's no conversion needed.
-==== put ====+==== [[put]] put ====
Use ''[[scriptcommand_put|put]]'' command. Use ''[[scriptcommand_put|put]]'' command.
Line 276: Line 276:
Alias to ''[[#bye|bye]]'' command. Alias to ''[[#bye|bye]]'' command.
-==== quote ====+==== [[quote]] quote ====
Alias to ''[[#literal|literal]]'' command. Alias to ''[[#literal|literal]]'' command.
Line 302: Line 302:
Command ''type binary'' is an alias to ''[[#binary|binary]]'' command. Command ''type binary'' is an alias to ''[[#binary|binary]]'' command.
-==== user ====+==== [[user]] user ====
In WinSCP, username is specified as part of [[session_url|session URL]] parameter of WinSCP ''open'' command. In WinSCP, username is specified as part of [[session_url|session URL]] parameter of WinSCP ''open'' command.

Last modified: by martin