Managing System Configuration and Memory
Using FTP to transfer files
Username and password details
If a username or password includes any of the following characters, you must encode
them using the hex values listed in the table that follows.
Character
Slash (/)
At sign (@)
Colon (:)
Semi-colon (;)
Note
All hex values need to be proceeded by a percent (%) symbol in the URL, for
example, %2F, %3A.
To specify no username or password, enter the URL with no characters between the
double slash (//) and the hostname. For example:
ftp //host.com
To specify an empty username (rather than no username) and no password, enter the
URL with an at (@) sign between the double slash and the hostname. For example:
ftp //@host.com
Note
An internal FTP server may not require the user to enter a username, or
password.
To specify a username and an empty password, enter the URL with the username
followed by a colon and an at sign. For example:
ftp //samwise:@host.com
URL path details
The URL path actually includes the following FTP URL elements:
url-path/filename;type=a|i
If any directory within the URL path contains a slash (/) or semicolon (;), you must
encode them.
To represent a slash, use the following code:
%2F
For example, the following URL transfers via FTP file motd from URL path /etc on
remote system host.com:
ftp //host.com/%2Fetc/motd
Typical FTP URLs
The following examples show how to transfer files by means of URLs.
Sample FTP URL with complete syntax
The following URL performs the following tasks:
ftp //foo:bar@135.254.196.191/%2Fhome%2Ftest/ftptest.txt;type=a current
6-14
Hex value
2F
40 (forty)
3A
3B
Stinger® Administration Guide
Need help?
Do you have a question about the Stinger FS and is the answer not in the manual?
Questions and answers