public class ExtendedAttributesOption extends Object
Some file systems support storage of Extended Attributes (xattrs) and Access Control Lists (acls). Ascp can be run with a combination of these options to preserve the meta data when files are transferred between file systems.
When MODE=native, xattrs and acls are preserved using native capabilities of the file system. But this storage mode is not supported on all file systems.
When MODE=metafile, xattrs and acls for a file (say, "readme.txt") are preserved in a second file, whose name is composed of the name of the (primary) file with ".aspera-meta" appended (i.e., "readme.txt.aspera-meta"). The aspera-meta files are platform-independent and can be copied between hosts without loss of information. This storage mode is supported on all file systems.
When MODE=none, xattrs and acls are not preserved. This storage mode is supported on all file systems.
Refer to AclOption
Modifier and Type | Class and Description |
---|---|
static class |
ExtendedAttributesOption.Mode |
Constructor and Description |
---|
ExtendedAttributesOption() |
ExtendedAttributesOption(ExtendedAttributesOption.Mode preserve,
ExtendedAttributesOption.Mode remotePreserve) |
public ExtendedAttributesOption()
public ExtendedAttributesOption(ExtendedAttributesOption.Mode preserve, ExtendedAttributesOption.Mode remotePreserve)
Copyright © 2017 Aspera Inc.. All rights reserved.