Differences

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

2011-05-23 2011-05-23
host can be hostname or IP address (martin) examples and syntax (martin)
Line 3: Line 3:
The syntax is: The syntax is:
-  [ sftp|ftp|scp:// ][ <user> [ :password ] @ ] <host> [ :<port> ]+  [ sftp|ftp|scp·:// ][ <user> [ : <password> ] @ ] <host> [ :·<port> ]
The ''host'' can either be a host name (such as ''example.com'') or an IP address (such as ''127.0.0.1''). The ''host'' can either be a host name (such as ''example.com'') or an IP address (such as ''127.0.0.1'').
Line 9: Line 9:
Special characters (like ''@'' in username) can be encoded using ''%XX'' syntax, where ''XX'' is hexadecimal ASCII code. Special characters (like ''@'' in username) can be encoded using ''%XX'' syntax, where ''XX'' is hexadecimal ASCII code.
-Some common examples:+Common special characters are:
  * space: ''%20'' or ''+''   * space: ''%20'' or ''+''
Line 16: Line 16:
  * ''/'': ''%2F'' (slash)   * ''/'': ''%2F'' (slash)
  * ''@'': ''%40'' (at sign)   * ''@'': ''%40'' (at sign)
 +
 +Examples:
 +  sftp://martin@example.com
 +  martin%40example.com:4pRte!ai%253@example.com
 +  sftp://root@example.com:2121
 +  example.com

Last modified: by martin