Differences

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

2014-07-14 2014-07-14
-neweronly (not supported) mapping to .net assembly (martin) 5.6 Bug 1172 Optionally failing command when file mask matches no files. (martin)
Line 10: Line 10:
If only one parameter is specified uploads the file to remote working directory. If more parameters are specified, all except the last one specify set of files to upload. The last parameter specifies target remote directory and optionally [[operation_mask|operation mask]] to store file(s) under different name. Destination directory must end with slash. Filename can be replaced with Windows wildcard ((Windows wildcard supports ''*'' and ''?'' only. It does not support all the features of [[file_mask|file masks]].)) to select multiple files. To upload more files to current working directory use ''./'' as the last parameter. If only one parameter is specified uploads the file to remote working directory. If more parameters are specified, all except the last one specify set of files to upload. The last parameter specifies target remote directory and optionally [[operation_mask|operation mask]] to store file(s) under different name. Destination directory must end with slash. Filename can be replaced with Windows wildcard ((Windows wildcard supports ''*'' and ''?'' only. It does not support all the features of [[file_mask|file masks]].)) to select multiple files. To upload more files to current working directory use ''./'' as the last parameter.
-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.+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|option failonnomatch on]]'' command).
See also ''[[scriptcommand_synchronize|synchronize]]'', if you need to transfer modified files only. See also ''[[scriptcommand_synchronize|synchronize]]'', if you need to transfer modified files only.
Line 31: Line 31:
Aliases: ''send'', ''mput'' Aliases: ''send'', ''mput''
-Effective [[scriptcommand_option|options]]: ''confirm'', ''reconnecttime''+Effective [[scriptcommand_option|options]]: ''confirm'', ''reconnecttime'', ''failonnomatch''
XML log elements: ''[[logging_xml#upload|upload]]'', ''[[logging_xml#mkdir|mkdir]]'', ''[[logging_xml#chmod|chmod]]'' (with ''-permissions''), ''[[logging_xml#touch|touch]]'' (with ''-preservetime'') XML log elements: ''[[logging_xml#upload|upload]]'', ''[[logging_xml#mkdir|mkdir]]'', ''[[logging_xml#chmod|chmod]]'' (with ''-permissions''), ''[[logging_xml#touch|touch]]'' (with ''-preservetime'')

Last modified: by martin