Differences

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

2011-05-24 2011-07-30
session_configuration#stored (martin) sftp scp ftp (martin)
Line 107: Line 107:
^ Switch                  ^ Description ^ ^ Switch                  ^ Description ^
| ''-delete''              | Delete source remote file(s) after transfer. | | ''-delete''              | Delete source remote file(s) after transfer. |
-| ''-resume''              | Automatically resume transfer if possible ([[protocols#sftp|SFTP]] and [[protocols#ftp|FTP]] protocols only). Cannot be combined with ''-append''. | +| ''-resume''              | Automatically resume transfer if possible ([[SFTP]] and [[FTP]] protocols only). Cannot be combined with ''-append''. | 
-| ''-append''              | Append source file to the end of target file ([[protocols#sftp|SFTP protocol]] only). Cannot be combined with ''-resume''. |+| ''-append''              | Append source file to the end of target file ([[sftp|SFTP protocol]] only). Cannot be combined with ''-resume''. |
| ''-preservetime''        | Preserve timestamp | | ''-preservetime''        | Preserve timestamp |
| ''-nopreservetime''      | Do not preserve timestamp | | ''-nopreservetime''      | Do not preserve timestamp |
Line 155: Line 155:
^ Switch                  ^ Description ^ ^ Switch                  ^ Description ^
| ''-delete''              | Delete obsolete files  | | ''-delete''              | Delete obsolete files  |
-| ''-permissions=<mode>''  | Set permissions ([[protocols#sftp|SFTP]] and [[protocols#scp|SCP]] protocols only) |+| ''-permissions=<mode>''  | Set permissions ([[SFTP]] and [[SCP]] protocols only) |
| ''-nopermissions''      | Keep default permissions | | ''-nopermissions''      | Keep default permissions |
| ''-speed=<kibps>''      | Limit transfer speed | | ''-speed=<kibps>''      | Limit transfer speed |
Line 272: Line 272:
| ''-privatekey=<key>''        | [[public_key#private|Private key]] path | | ''-privatekey=<key>''        | [[public_key#private|Private key]] path |
| ''-timeout=<sec>''          | Server response timeout | | ''-timeout=<sec>''          | Server response timeout |
-| ''-hostkey="<fingerprint>"'' | Specifies fingerprint of expected [[ssh#verifying_the_host_key|SSH host key]] (or several alternative fingerprints separated by semicolon). It makes WinSCP automatically [[scripting#hostkey|accept hostkey]] with the fingerprint. As the hostkey fingerprint contains spaces you need to enclose it in quotes. [[protocols#sftp|SFTP]] and [[protocols#scp|SCP]] protocols only. |+| ''-hostkey="<fingerprint>"'' | Specifies fingerprint of expected [[ssh#verifying_the_host_key|SSH host key]] (or several alternative fingerprints separated by semicolon). It makes WinSCP automatically [[scripting#hostkey|accept hostkey]] with the fingerprint. As the hostkey fingerprint contains spaces you need to enclose it in quotes. [[SFTP]] and [[SCP]] protocols only. |
| ''-certificate="<fingerprint>"'' | Specifies fingerprint of expected [[ftps#certificate|SSL/TLS sertificate]] (or several fingerprints separated by semicolon). It makes WinSCP automatically [[scripting#hostkey|accept certificate]] with the fingerprint. [[ftps|FTPS]] protocol only. | | ''-certificate="<fingerprint>"'' | Specifies fingerprint of expected [[ftps#certificate|SSL/TLS sertificate]] (or several fingerprints separated by semicolon). It makes WinSCP automatically [[scripting#hostkey|accept certificate]] with the fingerprint. [[ftps|FTPS]] protocol only. |
-| ''-passive''                | Passive mode ([[protocols#ftp|FTP protocol]] only) |+| ''-passive''                | Passive mode ([[ftp|FTP protocol]] only) |
| ''-implicit''                | Implicit TLS/SSL ([[ftps|FTPS protocol]] only) | | ''-implicit''                | Implicit TLS/SSL ([[ftps|FTPS protocol]] only) |
| ''-explicitssl''            | Explicit SSL ([[ftps|FTPS protocol]] only) | | ''-explicitssl''            | Explicit SSL ([[ftps|FTPS protocol]] only) |
Line 333: Line 333:
^ Switch                  ^ Description ^ ^ Switch                  ^ Description ^
| ''-delete''              | Delete source local file(s) after transfer. | | ''-delete''              | Delete source local file(s) after transfer. |
-| ''-resume''              | Automatically resume transfer if possible ([[protocols#sftp|SFTP]] and [[protocols#ftp|FTP]] protocols only). Cannot be combined with ''-append''. | +| ''-resume''              | Automatically resume transfer if possible ([[SFTP]] and [[FTP]] protocols only). Cannot be combined with ''-append''. | 
-| ''-append''              | Append source file to the end of target file ([[protocols#sftp|SFTP protocol]] only). Cannot be combined with ''-resume''. |+| ''-append''              | Append source file to the end of target file ([[sftp|SFTP protocol]] only). Cannot be combined with ''-resume''. |
| ''-preservetime''        | Preserve timestamp | | ''-preservetime''        | Preserve timestamp |
| ''-nopreservetime''      | Do not preserve timestamp | | ''-nopreservetime''      | Do not preserve timestamp |
-| ''-permissions=<mode>''  | Set permissions ([[protocols#sftp|SFTP]] and [[protocols#scp|SCP]] protocols only) |+| ''-permissions=<mode>''  | Set permissions ([[SFTP]] and [[SCP]] protocols only) |
| ''-nopermissions''      | Keep default permissions | | ''-nopermissions''      | Keep default permissions |
| ''-speed=<kibps>''      | Limit transfer speed | | ''-speed=<kibps>''      | Limit transfer speed |
Line 422: Line 422:
| ''-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'', ''both'' and ''none''. Ignored for ''both'' mode. | | ''-criteria=<criteria>'' | [[ui_synchronize#comparison_criteria|Comparison criteria]]. Possible values are ''time'', ''size'', ''both'' and ''none''. Ignored for ''both'' mode. |
-| ''-permissions=<mode>''  | Set permissions ([[protocols#sftp|SFTP]] and [[protocols#scp|SCP]] protocols only) |+| ''-permissions=<mode>''  | Set permissions ([[SFTP]] and [[SCP]] protocols only) |
| ''-nopermissions''      | Keep default permissions | | ''-nopermissions''      | Keep default permissions |
| ''-speed=<kibps>''      | Limit transfer speed | | ''-speed=<kibps>''      | Limit transfer speed |