Differences

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

2011-11-10 2012-01-05
created (martin) -transfer -exclude -include (martin)
Line 6: Line 6:
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. 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.
-Use [[scriptcommand_option|option]] command to set [[transfer_settings|transfer options]].+Use [[scriptcommand_option|option]] command to set [[transfer_settings|transfer options]] (deprecated). &future
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 20: Line 20:
| ''-nopreservetime''      | Do not preserve timestamp | | ''-nopreservetime''      | Do not preserve timestamp |
| ''-speed=<kibps>''      | Limit transfer speed | | ''-speed=<kibps>''      | Limit transfer speed |
 +| ''-transfer=<mode>''    | ''%%binary|ascii|automatic%%'' \\ [[transfer_mode|Transfer mode]]: binary, ascii (text), automatic (by extension). &future_feature  |
 +| ''-exclude=<mask>'' \\ ''-include=<mask>'' | ''%%<mask>[;<mask2>...]%%'' \\ Sets [[ui_transfer#other_options|exclusion or inclusion]] [[file_mask|masks]] (only one can be set at time). &future_feature |
-Effective [[scriptcommand_option|options]]: ''transfer'', ''confirm'', ''exclude'', ''include'', ''reconnecttime''+Effective [[scriptcommand_option|options]]: ''transfer'' (deprecated), ''confirm'', ''exclude'' (deprecated), ''include'' (deprecated), ''reconnecttime'' &future
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'')
Line 32: Line 34:
get public_html/index.html d:\www\about.* get public_html/index.html d:\www\about.*
get *.html *.png d:\www\*.bak get *.html *.png d:\www\*.bak
 +get -include="*.html; */"
</code> </code>

Last modified: by martin