| Configure the Server from the Command Line |
40
This command specifies the following values for the transfer:
Item
Argument
Example Value
TCP Port
Set the TCP port to start the transfer
session.
-P
port
-P 33001
Transfer Direction
Specify if the server is the
destination or source.
--mode=
direction
--mode=send
Transfer Policy
Specify how to share bandwidth
with other network users.
--policy=
policy
--policy=fair
Maximum Transfer Rate
Set the maximum transfer rate, in
Kbps.
-l
rate
-l 10000
Maximum transfer rate = 10 Mbps
Minimum Transfer Rate
Set the minimum transfer rate, in
Kbps.
-m
rate
-l 1000
Minimum transfer rate = 1 Mbps
File or Directory to Upload
Set the path relative to your current
directory.
source
/client-dir/files
Transfer User
username
aspera_user_1
Host Address
ip_address
10.0.0.2
Destination Folder
Set the destination path relative to
the transfer user's docroot.
destination
/dir
In this example, the files are
transferred to the "dir" folder in the
docroot of aspera_user_1.
Configure the Server from the Command Line
The following references describe the server settings that can be configured for HST Server by using the command
line or directly editing the HST Server configuration file,
aspera.conf
.
aspera.conf - Authorization Configuration
The settings in the
<authorization>
section of
aspera.conf
include transfer permissions and token
configuration. Tokens are used by Aspera web applications to authorize transfers between Aspera clients and servers.
Note:
For security, Aspera recommends denying incoming and outgoing transfers globally, then allowing transfers by
individual users, as needed. For a compilation of server security best practices, see
Aspera Ecosystem Security Best
on page 335.