write FTP URLs in file name text fields or when using the command line application?

 

 

According to the specification of URL formats ( RFC 1738 ), an FTP URL is of the form
ftp://< user>:< password>@< host>:< port>/< url-path>

 If you wish to access a FTP server with SSL support, the URL must start with "ftps" instead of "ftp".

Some or all of the parts "< user>:< password>@", ":< password>", ":< port>", and "/< url-path>" may be excluded.

The different components obey the following rules:

The user name (and password), if present, are followed by a commercial at-sign "@". Within the user and password field, any ":", "@", or "/" must be encoded.

 An empty user name or password is different than no user name or password; there is no way to specify a password without specifying a user name. E.g., <URL:ftp://@host.com/> has an empty user name and no password, <URL:ftp://host.com/> has no user name, while <URL:ftp://foo:@host.com/> has a user name of "foo" and an empty password.

The url-path of a FTP URL has the following syntax:
< cwd1>/< cwd2>/.../< cwdN>/< name>
Where < cwd1> through < cwdN> and < name> are (possibly encoded) strings.  The < cwdx> and < name> parts may be empty. The whole url-path may be omitted, including the "/" delimiting it from the prefix containing user, password, host, and port.

See also