Ascp4 Examples

The commands for ascp4 are generally similar to those for ascp, see Ascp Command Reference and Ascp Transfers with Object Storage and HDFS for examples, and Comparison of Ascp and Ascp4 Options for option availability.

The following command examples demonstrate options that are unique to ascp4. These options enable reading management commands, enable read/write concurrency,and transfer TCP and UDP data streams.

  • Read FASP4 management commands

    Read management commands V4 from management port 5000 and execute the management commands. The management commands version 4 are PUT, WRITE and CLOSE.

    > ascp4 -L /tmp/client-logs -R /tmp/server-logs --faspmgr-io -M 5000 localhost:/tmp
  • Increase concurrency

    The following command runs ascp4 with two scan threads and eight read threads on the client, and eight meta threads and 16 write threads on the server.

    > ascp4 -L /tmp/logs -R /tmp/logs -l1g --scan-threads=2 --read-threads=8 --write-threads=16 --meta-threads=8  /data/100K aspera@10.0.113.53:/data