Differences
This shows you the differences between the selected revisions of the page.
| 2008-04-11 | 2008-04-11 | ||
| typo (martin) | 4.1 -permissions, -nopermissions for get, put, synchronize and keepuptodate; -delete, -preservetime and -nopreservetime for get and put; (martin) | ||
| Line 83: | Line 83: | ||
| Alias: ''recv'' | Alias: ''recv'' | ||
| + | |||
| + | Switches: | ||
| + | ^ Switch ^ Description ^ | ||
| + | | ''-delete'' | Delete source remote file(s) after transfer | | ||
| + | | ''-preservetime'' | Preserve timestamp | | ||
| + | | ''-nopreservetime'' | Do not preserve timestamp | | ||
| Effective [[script_commands#option|options]]: ''transfer'', ''confirm'', ''exclude'', ''include'' | Effective [[script_commands#option|options]]: ''transfer'', ''confirm'', ''exclude'', ''include'' | ||
| Line 89: | Line 95: | ||
| <code winscp> | <code winscp> | ||
| get index.html | get index.html | ||
| - | get index.html about.html .\ | + | get -delete index.html about.html .\ |
| get index.html about.html d:\www\ | get index.html about.html d:\www\ | ||
| get public_html/index.html d:\www\about.* | get public_html/index.html d:\www\about.* | ||
| Line 122: | Line 128: | ||
| ^ Switch ^ Description ^ | ^ Switch ^ Description ^ | ||
| | ''-delete'' | Delete obsolete files | | | ''-delete'' | Delete obsolete files | | ||
| + | | ''-permissions=<mode>'' | Set permissions | | ||
| + | | ''-nopermissions'' | Keep default permissions | | ||
| Effective [[script_commands#option|options]]: ''transfer'', ''exclude'', ''include'' | Effective [[script_commands#option|options]]: ''transfer'', ''exclude'', ''include'' | ||
| Line 270: | Line 278: | ||
| Use [[script_commands#option|option]] command to set [[transfer_settings|transfer options]]. | Use [[script_commands#option|option]] command to set [[transfer_settings|transfer options]]. | ||
| + | |||
| + | Switches: | ||
| + | ^ Switch ^ Description ^ | ||
| + | | ''-delete'' | Delete source local file(s) after transfer | | ||
| + | | ''-preservetime'' | Preserve timestamp | | ||
| + | | ''-nopreservetime'' | Do not preserve timestamp | | ||
| + | | ''-permissions=<mode>'' | Set permissions | | ||
| + | | ''-nopermissions'' | Keep default permissions | | ||
| Alias: ''send'' | Alias: ''send'' | ||
| Line 278: | Line 294: | ||
| <code winscp> | <code winscp> | ||
| put index.html | put index.html | ||
| - | put index.html about.html ./ | + | put -delete index.html about.html ./ |
| - | put index.html about.html /home/martin/public_html/ | + | put -permissions=644 index.html about.html /home/martin/public_html/ |
| 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 | ||
| Line 344: | Line 360: | ||
| | ''-mirror'' | [[task_synchronize_full#synchronization_mode|Mirror mode]] (synchronize also older files). Ignored for ''both''. | | | ''-mirror'' | [[task_synchronize_full#synchronization_mode|Mirror mode]] (synchronize also older files). Ignored for ''both''. | | ||
| | ''-criteria=<criteria>'' | [[ui_synchronize#comparison_criteria|Comparison criteria]]. Possible values are ''time'', ''size'' and ''both''. Ignored for ''both'' mode. | | | ''-criteria=<criteria>'' | [[ui_synchronize#comparison_criteria|Comparison criteria]]. Possible values are ''time'', ''size'' and ''both''. Ignored for ''both'' mode. | | ||
| + | | ''-permissions=<mode>'' | Set permissions | | ||
| + | | ''-nopermissions'' | Keep default permissions | | ||
| Effective [[script_commands#option|options]]: ''transfer'', ''exclude'', ''include'' | Effective [[script_commands#option|options]]: ''transfer'', ''exclude'', ''include'' | ||