beautypg.com

HP StoreAll Storage User Manual

Page 92

background image

For anonymous users:

Upload a file using HTTP protocol:

curl -T http://IP_address:port/urlpath/

Upload a file using HTTPS protocol:

curl --cacert -T

https://IP_address:port/urlpath//

Download a file using HTTP protocol:

curl http://IP_address:port/urlpath/ -o

download>//

Download a file using HTTPS protocol:

curl --cacert

https://IP_address:port/urlpath/ -o

download>//

For Active Directory users (specify the user as in this example: mycompany.com\\User1):

Upload a file using HTTP protocol:

curl –T -u http://IP_address:port/urlpath/

Upload a file using HTTPS protocol:

curl --cacert -T -u

https://IP_address:port/urlpath/

Download a file using HTTP protocol:

curl -u http://IP_address/dils/urlpath -o path to

download>//

Download a file using HTTPS protocol:

curl --cacert -u

https://IP_address:port/urlpath/ -o path to

download>//

Configuring Windows clients to access HTTP WebDAV shares

Complete the following steps to set up and access WebDAV enabled shares:

Verify the entry in the Windows hosts file.

Before mapping a network drive in Windows, verify that an entry exists in the c:\Windows\
System32\drivers\etc\hosts

file. For example, IP address 10.2.4.200 is assigned to

a Vhost named vhost1, and if the Vhost name is not being used to map the network drive,
the client should be able to resolve the domain name such as

www.storage.hp.com

(in reference

to domain name-based virtual hosts).

Verify the characters in the Windows hosts file.

The Windows c:\Windows\System32\drivers\etc\hosts file specifies IP versus
hostname mapping. Verify that the hostname in the file includes alpha-numeric characters
only.

Verify that the WebClient Service is started.

The WebClient Service must be started on Windows-based clients attempting to access the
WebDAV share. The WebClient service is missing by default on Windows 2008. To install
the WebClient service, the Desktop Experience package must be installed. See

http://

technet.microsoft.com/en-us/library/cc754314.aspx

for more information.

92

Using HTTP