Differences

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

2016-01-19 2016-01-22
latest anchor (martin) option and property anchors (martin)
Line 10: Line 10:
Downloads one or more files from remote directory to local directory. If only one parameter is specified downloads the file to local working directory. If more parameters are specified, all except the last one specify set of files to download. The last parameter specifies target local directory and optionally [[operation_mask|operation mask]] to store file(s) under different name. Destination directory must end with backslash. Filename can be replaced with [[file_mask|wildcard]] to select multiple files. To download more files to current working directory use ''.\'' as the last parameter. To download all files in a directory, use mask ''*''. Downloads one or more files from remote directory to local directory. If only one parameter is specified downloads the file to local working directory. If more parameters are specified, all except the last one specify set of files to download. The last parameter specifies target local directory and optionally [[operation_mask|operation mask]] to store file(s) under different name. Destination directory must end with backslash. Filename can be replaced with [[file_mask|wildcard]] to select multiple files. To download more files to current working directory use ''.\'' as the last parameter. To download all files in a directory, use mask ''*''.
-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).+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).
See also ''[[scriptcommand_synchronize|synchronize]]'', if you need to transfer modified or non-existing files only. See also ''[[scriptcommand_synchronize|synchronize]]'', if you need to transfer modified or non-existing files only.
Line 30: Line 30:
| ''-neweronly''          | Transfer new and updated files only. See also ''[[scriptcommand_synchronize|synchronize]]'' command. | | ''-neweronly''          | Transfer new and updated files only. See also ''[[scriptcommand_synchronize|synchronize]]'' command. |
-Effective [[scriptcommand_option|options]]: ''confirm'', ''reconnecttime'', ''failonnomatch''+Effective [[scriptcommand_option|options]]: ''[[scriptcommand_option#confirm|confirm]]'', ''[[scriptcommand_option#reconnecttime|reconnecttime]]'', ''[[scriptcommand_option#failonnomatch|failonnomatch]]''
-XML log elements: ''[[logging_xml#download|download]]'', ''[[logging_xml#rm|rm]]'' (with ''-delete'')+XML log elements: ''[[logging_xml#download|download]]'', ''[[logging_xml#rm|rm]]'' (with ''[[#delete|-delete]]'')
===== Examples ===== ===== Examples =====

Last modified: by martin