beautypg.com

Accessing shares – HP StoreAll Storage User Manual

Page 81

background image

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://@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 -k ftp://IP_address/pub/ -u anonymous

Upload a file using FTPS protocol:

curl -T -k --ftp-ssl-reqd ftp://IP_address:990/pub/ -u

ftp

Download a file using FTP protocol:

curl -k ftp://IP_address/pub/ -u anonymous

Download a file using FTPS protocol:

curl -k --ftp-ssl-reqd ftp://IP_address:990/pub/ -u ftp

The following example shows an anonymous client accessing a share.

Accessing shares

81