6.5 HP StoreAll OS CLI Reference Guide

Table Of Contents
ibrix_ftpshare
Manages FTP shares.
Description
An FTP share provides access to data on StoreAll file systems. FTP clients access the shares using
standard FTP and FTPS protocol services.
The ibrix_ftpshare command can be used to add a share to an existing file system. You can
create multiple shares having the same physical path, but with different sets of properties, and then
assign users to the share that is appropriate for their usage.
NOTE: The file system must be mounted when you add the share.
Synopsis
Add an FTP share:
ibrix_ftpshare -a SHARENAME -c PROFILENAME -f FSNAME -p dirpath -I
IP-address:Port [-u USERLIST] [-S SETTINGLIST]
For the -S option, use a comma to separate the settings, and enclose the settings in quotation
marks, such as "browseable=true,readonly=true,...". The settings should include the
IP addresses or Virtual IP addresses that clients will use to access the share. Enter the addresses
as IP address:port pairs. To see a list of the allowable settings for the share, use
ibrix_ftpshare -L.
For the -I option, use a semicolon to separate the IP address:port settings and enclose the settings
in quotation marks, such a "ip1:port1;ip2:port2;...".
The -U option allows you to specify the allowed permissions and an optional custom directory
path for specific users. Use commas to separate the users (for example:
user1=access[;custom_user_path],USER2=access[;custom_user_path],...). In
the command, access can be r/w/rw.
Modify an FTP share:
ibrix_ftpshare -m SHARENAME -c PROFILENAME [-f FSNAME -p dirpath] -I
IP-address:Port [-u USERLIST] [-S SETTINGLIST]
If you need to allow NAT connections, specify the allow_nat=true parameter with the -S
option. For example:
ibrix_ftpshare -m ftp_share1 -c profile1 -I 10.9.60.61:21 -S
"allow_nat=true"
Delete an FTP share:
ibrix_ftpshare -d SHARENAME -c PROFILENAME
Delete all FTP shares associated with a file system:
ibrix_ftpshare -d -f FSNAME
Display information about an FTP share:
ibrix_ftpshare -i SHARENAME -c PROFILENAME [-v level]
Use -v 1 to display detailed information.
List all FTP shares, or shares associated with a specific profile:
ibrix_ftpshare -l -c PROFILENAME [-v level]
Use -v 1 to display detailed information.
ibrix_ftpshare 95