Differences

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

2020-05-29 2020-12-03
adding "command" to title (martin) 5.18 With SFTP protocol files can be streamed to stdout and from stdin in scripting (martin)
Line 13: Line 13:
The last parameter specifies target local directory and optionally [[operation_mask|operation mask]] to store file(s) under different name. Target directory must end with backslash. To download more files to current working directory use ''.\'' as the last parameter. The last parameter specifies target local directory and optionally [[operation_mask|operation mask]] to store file(s) under different name. Target directory must end with backslash. To download more files to current working directory use ''.\'' as the last parameter.
 +
 +With the [[commandline#stdout|''/stdout'' command-line switch]], ''-'' can be used as a target to stream the contents of downloaded file(s) to the standard output. &beta_feature
When specific file name is used, command fails when the file does not exist. When wildcard is used, command succeeds, without doing anything, if the wildcard does not match any file, by default (you can change this using ''[[scriptcommand_option#failonnomatch|option failonnomatch on]]'' command). When specific file name is used, command fails when the file does not exist. When wildcard is used, command succeeds, without doing anything, if the wildcard does not match any file, by default (you can change this using ''[[scriptcommand_option#failonnomatch|option failonnomatch on]]'' command).

Last modified: by martin