Differences
This shows you the differences between the selected revisions of the page.
2021-04-10 | 2021-06-15 | ||
Restored revision 1616752887. Undoing revision 1618008500. (martin) (hidden) | streaming with winscp.com and sftp only (martin) | ||
Line 12: | Line 12: | ||
The last parameter specifies ==target== remote directory and optionally [[operation_mask|operation mask]] to store file(s) under different name. Target directory must end with slash. To upload more files to current working directory use ''./'' as the last parameter. | The last parameter specifies ==target== remote directory and optionally [[operation_mask|operation mask]] to store file(s) under different name. Target directory must end with slash. To upload more files to current working directory use ''./'' as the last parameter. | ||
- | With the [[commandline#stdin|''/stdin'' command-line switch]], ''-'' can be used as a source to stream the standard input to remote server. &beta_feature | + | With the [[commandline#stdin|''/stdin'' command-line switch]], ''-'' can be used as a source to stream the [[executables#redirection|standard input of ''winscp.com'']] to remote server. Streaming is supported with the [[sftp|SFTP protocol]] only. &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). |