6.5 HP StoreAll OS User Guide

Table 6 Download a file by using the FTP protocol
CommandScenario
curl ftp://IP_address/pub/server.pem -o
<path to download>\<filename>
You do not need to specify the user name and password
curl ftp://IP_address/pub/server.pem -o
<path to download>\<filename> -u ftp:ftp
You must provide the default user name and password
(“ftp” for the username and “ftp” for the password)
Table 7 Download a file by using the FTPS protocol
CommandScenario
curl --ftp-ssl-reqd --cacert <certificate
file> ftp://IP_address:990/pub/<filename>
-o <filename>
You do not need to specify the user name and password
curl --ftp-ssl-reqd --cacert <certificate
file> ftp://IP_address:990/pub/<filename>
-o <filename> -u ftp:ftp
You must provide the default user name and password
(“ftp” for the username and “ftp” for the password)
The following example shows a web browser accessing an anonymous share.
FTP and FTPS commands for non-anonymous shares
This section provides the following FTP and FTPS commands for non-anonymous shares. All
commands should be entered on one line.
Table 8 Upload a file by using the FTP protocol for domain user
CommandScenario
curl -T <filename> ftp://IP_address/ -u
USER:PASSWORD
You do not need to specify the domain
curl -T <filename> ftp://IP_address/ -u
DOMAIN\\USER:PASSWORD
You must specify the domain
126 Using FTP