| File Pre- and Post-Processing (Prepost) |
92
Variable
Description
Values
Example
PEER
The peer name or IP address.
string or valid
IPv4 address
"$PEER" == 10.0.0.1
SECURE
Transfer encryption.
• yes
• no
"$SECURE" == no
SESSIONID
The session id.
string
"$SESSIONID" == 1
STARTSTOP
The status start or stop.
• Start
• Stop
"$STARTSTOP" == Start
STATE
The transfer state.
• started
• success
• failed
"$STATE" == success
TYPE
The event type.
• Session
• File
"$TYPE" == Session
USER
The user name
string
"$USER" == aspera_user_1
USERID
The user ID
string
"$USERID" == 501
USERSTR
The user string, such as additional
variables.
string*
"$USERSTR" == -q
For Sessions
Variable
Description
Values
Example
FILE1
The first file.
string*
"$FILE1" == first-file
FILE2
The second file.
string*
"$FILE2" == second-file
FILECOUNT
The number of files.
positive
integer
"$FILECOUNT" >= 5
FILELAST
The last file.
string*
"$FILELAST" == last-file
LICENSE
The license account and serial number.
string
"$LICENSE" == license-string
MINRATE
The initial minimum rate, in Kbps.
positive
integer
"$MINRATE" == 50
PEERLICENSE
The peer's license account and serial
number.
string
"$PEERLICENSE" == license-
string
RATEMODE
The transfer policy.
• adapt
• fixed
"$RATEMODE" == adapt
SOURCE
The full path of the source file.
string*
"$SOURCE"== /tmp
TARGET
The full path of the target directory.
string*
"$TARGET" == .
TARGETRATE
The initial target rate, in Kbps.
positive
integer
"$TARGETRATE" == 100
TOTALBYTES
The total bytes transferred.
positive
integer
"$TOTALBYTES" >=
100000000