Accessing shares – HP StoreAll Storage User Manual
Page 81
NOTE:
When the HTTP configuration is changed with the management console GUI or CLI, the
HTTP daemon is restarted automatically.
Accessing shares
Clients access an HTTP 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:
http://IP_address:port/urlpath/
•
For a shared configured with a userlist and having the anonymous parameter set to
false
, use the following URL:
http://IP_address:port/urlpath/
Enter your user name and password when prompted.
NOTE:
When a file is uploaded into an HTTP share, the file is owned by the user who uploaded
the file to the share.
If a user uploads a file to an HTTP share and specifies a subdirectory that does not already exist,
the subdirectory will be created. For example, you could have a share mapped to the directory
/ifs/http/
and using the url http_url. A user could upload a file into the share:
curl -T file http://
If the directory new_dir does not exist under http_url, the http service automatically creates
the directory /ifs/http/new_dir/ and sets the permissions to 777. If the anonymous user
performed the upload, the new_dir directory is owned by daemon:daemon. If a non-anonymous
user performed the upload, the new_dir directory is owned by user:group.
You can also use curl commands to access an HTTP share.
For anonymous users:
•
Upload a file using HTTP protocol:
curl -T
•
Upload a file using HTTPS protocol:
curl --cacert
https://IP_address:port/urlpath/
•
Download a file using HTTP protocol:
curl http://IP_address:port/urlpath/ download>/ • Download a file using HTTPS protocol: curl --cacert https://IP_address:port/urlpath/ download>/ Accessing shares 81