•
Extended attributes are not preserved for directories.
•
If Ascp is run by a regular user, only user-level attributes are preserved. If run as superuser, all
attributes are preserved.
•
The amount of attribute data per file that can be transferred successfully is subject to ascp's
internal PDPU size limitation.
•
Very old versions of Ascp do not support values other than none, and transfers using native
or metafile fail with an error that reports incompatible FASP protocol versions.
--proxy=proxy_url
Use the proxy server at the specified address. proxy_url should be specified with the following
syntax:
dnat[s]://proxy_username:proxy_password@server_ip_address:port
The default ports for DNAT and DNATS protocols are 9091 and 9092. For a usage example, see
Ascp General Examples
-q
Run ascp in quiet mode (disables the progress display).
-R remote_log_dir
Log to the specified directory on the server rather than the default directory. Note: Client users
restricted to aspshell are not allowed to use this option. To specify the location of the local log, use
-L.
--remote-preserve-acls={native|metafile|none}
Like --preserve-acls but used when ACLs are stored in a different format on the remote
computer. Defaults to the value of --preserve-acls.
Note: Both --preserve-acls and --remote-preserve-acls must be specified in order
for the target side of a pull (Ascp with --mode=recv) to apply the ACLs.
--remote-preserve-xattrs={native|metafile|none}
Like --preserve-xattrs but used when attributes are stored in a different format on the
remote computer. Defaults to the value of --preserve-xattrs.
--remove-after-transfer
Remove all source files, but not the source directories, once the transfer has completed successfully.
Requires write permissions on the source.
--remove-empty-directories
Remove empty source directories once the transfer has completed successfully, but do not remove
a directory specified as the source argument. To also remove the specified source directory, use --
remove-empty-source-directory. Directories can be emptied using --move-after-
transfer or --remove-after-transfer. Scanning for empty directories starts at the
srcbase and proceeds down any subdirectories. If no source base is specified and a file path (as
opposed to a directory path) is specified, then only the immediate parent directory is scanned and
removed if it's empty following the move of the source file. Note: Do not use this option if multiple
processes (ascp or other) might access the source directory at the same time.
--remove-empty-source-directory
Remove directories specified as the source arguments. For use with --remove-empty-
directories.
-S remote_ascp
Use the specified remote ascp binary, if different than ascp.
--save-before-overwrite
Save a copy of a file before it is overwritten by the transfer. A copy of filename.ext is saved
as filename.yyyy.mm.dd.hh.mm.ss.index.ext in the same directory. index is set to 1
on page 114.
| ascp: Transferring from the Command Line with Ascp | 111