Differences

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

2011-11-10 2012-01-05
created (martin) -transfer -exclude -include with put (martin)
Line 6: Line 6:
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.
-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 files only. See also ''[[scriptcommand_synchronize|synchronize]]'' if you need to transfer modified files only.
Line 20: Line 20:
| ''-nopermissions''      | Keep default permissions | | ''-nopermissions''      | Keep default permissions |
| ''-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 |
Aliases: ''send'', ''mput'' Aliases: ''send'', ''mput''
-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#upload|upload]]'', ''[[logging_xml#chmod|chmod]]'' (with ''-permissions''), ''[[logging_xml#touch|touch]]'' (with ''-preservetime'') XML log elements: ''[[logging_xml#upload|upload]]'', ''[[logging_xml#chmod|chmod]]'' (with ''-permissions''), ''[[logging_xml#touch|touch]]'' (with ''-preservetime'')
Line 34: Line 36:
put d:\www\index.html about.* put d:\www\index.html about.*
put *.html *.png /home/martin/backup/*.bak put *.html *.png /home/martin/backup/*.bak
 +put -include="*.html; */"
</code> </code>

Last modified: by martin