Configuring Compression/Extraction and Encryption/Decryption

The Ultimate File Connector can be used to extract a file during import and compress a file during export and in conjunction with this Encryption/Decryption for the archive formats that supports it (Zip and SevenZip).

If you wish to Decompress/Compress the file before import or export you check the “Use Compression” checkbox. Then you have to write the file name to be used internally in the archive this means that the file names you use for “Uri/File Path” will be the name of the archive for example file.zip whereas Archive Internal File Names will be the name of the file within the archive for example file.txt. You also need to select an “Archive Format” this is set to “Zip” by default and will only be used when compressing a file, for import a lot more formats are supported and a list of these can be found further down.

The Compression/Extraction functionality relies on the SevenZipSharp project that in turn relies on a dll file (7z.dll) distributed with the 7-Zip software so in order to use this functionality you must download the 7-Zip software and copy the 7z.dll file to the Extensions folder (C:\Program Files\Microsoft Forefront Identity Manager\2010\Synchronization Service\Extensions). The SevenZipSharp project library comes with the connector.

image

If you wish to encrypt the file you have to check the “Use Encryption” checkbox, a password (the longer the better) and the encryption method where “Aes256” is selected by default.

Note that Encryption is only supported when the file is of type “Zip” or “SevenZip”.

These formats are available for Export:

Format Description Oddities
SevenZip Open 7-zip archive format.  
Zip Open Zip archive format  
GZip Open Gzip archive format  
BZip2 Open Bzip2 archive format Removes file extension from internal file.
Tar Open Tar archive format  
XZ Open Xz archive format Removes file extension from internal file.

These formats are available for Import (Note, only the formats with *  has been tested):

Format Description Oddities
SevenZip* Open 7-zip archive format  
Arj Proprietary Arj archive format  
BZip2* Open Bzip2 archive format Can’t find file by name in archive, index has to be used. The workaround is to use the numeric file index within the archive for example: 0 as Archive Internal File Name.
Cab* Microsoft cabinet archive format  
Chm Microsoft Compiled HTML Help file format  
Compound Microsoft Compound file format  
Cpio Open Cpio archive format  
Deb Open Debian software package format  
GZip* Open Gzip archive format  
Iso Open ISO disk image format  
Lzh Open Lzh archive format  
Lzma Open core 7-zip Lzma raw archive format  
Nsis Nullsoft installation package format  
Rar* RarLab Rar archive format  
Rpm Open Rpm software package format  
Split Open split file format  
Tar* Open Tar archive format  
Wim Microsoft Windows Imaging disk image format  
Lzw Open LZW archive format; implemented in "compress" program; also known as "Z" archive format  
Zip* Open Zip archive format  
Udf Open Udf disk image format  
Xar Xar open source archive format  
Mub Mub  
Hfs Macintosh Disk Image on CD  
Dmg Apple Mac OS X Disk Copy Disk Image format  
XZ* Open Xz archive format Can’t find file by name in archive, index has to be used. The workaround is to use the numeric file index within the archive for example: 0 as Archive Internal File Name.
Mslz MSLZ archive format  
Flv Flash video format  
Swf Shockwave Flash format  
PE Windows PE executable format  
Elf Linux executable Elf format  
Msi Windows Installer Database  
Vhd Microsoft virtual hard disk file format  

 

Last edited May 14, 2012 at 8:44 PM by HenrikNilsson, version 3

Comments

No comments yet.