Compressed attachments

Start page  Previous page  Next page

 

n2pdf is capable of working with compressed attachments. If the function N2PDFAddAttachment is used to pass an attachment and this attachment is compressed (e.g. as a ZIP file), then n2pdf is capable of unpacking this archive and can use all files contained in it.

 

112

You can suppress the unpacking of an archive with the option N2PDFOPTION_ATTACHMENT_EXTRACT_ARCHIVE.

 

There is no need for additional programming. n2pdf recognizes a compressed archive and unpacks all files it contains. For some archive formats n2pdf is also capable of working with SFX (self extracting) attachments. The list below contains all supported archive formats.

 

ARJ (*.arj), ARJ SFX                          

CAB (*.cab)

GZIP (*.gz)

JAR (*.jar), JAR SFX

LHA (*.lha), LHA SFX, LZH (*.lzh), LZH SFX

RAR (*.rar), RAR SFX

TAR (*.tar)

ZIP (*.zip), ZIP SFX

7Z (*.7z), 7z SFX