Faspex Examples

List the contents of a remote source (in this example, 22). You can then use the results to send packages with contents from that remote source.
# aspera faspex browse --sort=type --source=22 -p/Datasheets
Send a Faspex package containing a file named test_file in the current directory to recipient at host.com. This command contacts the Faspex server at https://host.com and logs in as the user myusername with the password mypassword. When the recipient receives the email, the subject line "File 4 U" will identify this package.
# aspera faspex send -f test_file -n"This is a note for a Faspex package sent with the command-line client" -t"File 4 U" -r"recipient" -H"host.com" -umyusername -pmypassword
Send a Faspex package containing a file called test_file from a remote source. This command contacts the Faspex server at https://host.com and logs in as the user myusername with the password mypassword. When the recipient receives the email, the subject line "File 4 U" will identify this package.
# aspera faspex send -f test_file --source=22 -n"This is a note for a Faspex package sent with the command-line client" -t"File 4 U" -r"recipient" -H"host.com" -umyusername -pmypassword
Download the specified package based on the faspe:// URL that the Faspex list commmand returns.
# aspera faspex get -umyusername -H"myhost.com" -pmypassword --url="faspe://..."
List the packages in a user's inbox, in short format.
# aspera faspex list -umyusername -H"myhost.com" -pmypassword -n
List the packages in a user's inbox, in XML (RSS) format.
Note: As the format returned with the -x option is XML, if you want to download a package referenced in a link tag, make sure that you un-escape the returned XML value in the href= attribute.
# aspera faspex list -umyusername -H"myhost.com" -pmypassword -n -x