5.6 HP StorageWorks X9000 File Serving Software User Guide (TA768-96035, June 2011)

IMPORTANT: For FTP share access to work properly, the vsftpd service must be started by
X9000 Software. Ensure that the chkconfig of vsftpd is set to OFF (chkconfig vsftpd
off).
Starting or stopping the FTP service manually
Use the following command to start the FTP service manually:
/usr/local/ibrix/ftpd/etc/vsftpd start /usr/local/ibrix/ftpd/hpconf/
Use the following command to stop the FTP service manually:
/usr/local/ibrix/ftpd/etc/vsftpd stop /usr/local/ibrix/ftpd/hpconf/
Use the following command to restart the FTP service manually:
/usr/local/ibrix/ftpd/etc/vsftpd restart /usr/local/ibrix/ftpd/hpconf/
NOTE: When the FTP configuration is changed with the management console GUI or CLI, the
FTP daemon is restarted automatically.
Accessing shares
Clients can access an FTP share by specifying a URL in their browser (Internet Explorer or Mozilla
Firefox). In the following URLs, IP_address:port is the IP (or virtual IP) and port configured for
the share.
For a share configured with an IP-based virtual host and the anonymous parameter is set to
true, use the following URL:
ftp://IP_address:port/
For a share configured with a userlist and having the anonymous parameter set to false,
use the following URL:
ftp://<ADDomain\username>@IP_address:port/
NOTE: When a file is uploaded into an FTP share, the file is owned by the user who uploaded
the file to the share.
If a user uploads a file to an FTP share and specifies a subdirectory that does not already exist,
the subdirectory will not be created automatically. Instead, the user must explicitly use the mkdir
ftp command to create the subdirectory. The permissions on the new directory are set to 777. If
the anonymous user created the directory, it is owned by ftp:ftp. If a non-anonymous user
created the directory, the directory is owned by user:group.
You can also use curl commands to access an FTP share. (The default SSL port is 990.)
For anonymous users:
Upload a file using FTP protocol:
curl -T <filename> -k ftp://IP_address/pub/ -u anonymous
Upload a file using FTPS protocol:
curl -T <filename> -k --ftp-ssl-reqd ftp://IP_address:990/pub/ -u
ftp
Download a file using FTP protocol:
curl -k ftp://IP_address/pub/<filename> -u anonymous
Download a file using FTPS protocol:
curl -k --ftp-ssl-reqd ftp://IP_address:990/pub/<file_name> -u ftp
Starting or stopping the FTP service manually 73