Previous Topic: dtscli Command—Add Parcel FiltersNext Topic: Predefined Filters


dtscli Command—Add File Filters

Valid DTSCLI file filters types:

When adding file filters, parcel filters may also be needed. To transfer a directory, file filters must be added to the dtscli command. If you try to transfer a directory without adding the directory filter, you get the following error message:

"Failed to open input data <c:\dtstemp> error=<Permission denied>".

Help for file filters command:

dtscli -help agent f_filters

Example: Transfer a Directory

Note: When using the long format, also apply parcel filters.

Example: Encrypt a File

Encrypt the file before sending it to the responder:

dtscli -agent "ipath=Gold::c:\dtstemp" 
"rpath=Silver::c:\dtstemp" 
"f_filters=PLAIN_ENCRYPT_FILE(ENDEC_KEY=key):PLAIN_DECRYPT_FILE()"
"p_filters=binary"

Example: Apply Attributes of Original File to Transferred File

The use of the file attribute filter forces the transferred file to have the same attributes as the original.