session_url » Revisions »
Differences
This shows you the differences between the selected revisions of the page.
2013-07-29 | 2013-07-30 | ||
990 is port only for implicit ftps (martin) | favor tls (martin) | ||
Line 5: | Line 5: | ||
[ sftp|ftp|ftps|scp :// ][ <username> [ : <password> ] @ ] <host> [ : <port> ] | [ sftp|ftp|ftps|scp :// ][ <username> [ : <password> ] @ ] <host> [ : <port> ] | ||
- | The only mandatory part is ''host''. You should also always explicitly specify a protocol (''sftp'', ''ftp'' or ''scp'', the ''ftps'' protocol is FTP over SSL/TLS). ((Protocol is ''sftp'' by default, but the default can be changed.)) Most URL's will include also ''username''. The ''port'' needs to be specified only, when it differs from the default port for the protocol (22 for ''sftp''/''scp'', 21 for ''ftp'' and 990 for implicit ''ftps''). | + | The only mandatory part is ''host''. You should also always explicitly specify a protocol (''sftp'', ''ftp'' or ''scp'', the ''ftps'' protocol is FTP over TLS/SSL). ((Protocol is ''sftp'' by default, but the default can be changed.)) Most URL's will include also ''username''. The ''port'' needs to be specified only, when it differs from the default port for the protocol (22 for ''sftp''/''scp'', 21 for ''ftp'' and 990 for implicit ''ftps''). |
The ''host'' can either be a host name (such as ''example.com''), an IPv4 address (such as ''127.0.0.1'') or an IPv6 address surrounded by square brackets (such as ''[2001:db8:85a3:8d3:1319:8a2e:370:7348]''). | The ''host'' can either be a host name (such as ''example.com''), an IPv4 address (such as ''127.0.0.1'') or an IPv6 address surrounded by square brackets (such as ''[2001:db8:85a3:8d3:1319:8a2e:370:7348]''). |