>I wonder if the "iscompressed" detection gets fooled by

This is impossible - the compression type is detected content based.

Thomas





Von:    Grayhat <gray...@gmx.net>
An:     assp-test@lists.sourceforge.net
Datum:  09.05.2016 14:37
Betreff:        Re: [Assp-test] [request] AFC and rar archives



:: On Mon, 9 May 2016 14:14:20 +0200
:: <CALXBZa-sapvbb-0R=w-rhrirqk-p6bqp9u3jwpfeaknns2e...@mail.gmail.com>
:: aquilinux <aquili...@gmail.com> wrote:

> '/opt/assp/tmp/zip_1_1462793996/File_di_input.xlsx' -

I wonder if the "iscompressed" detection gets fooled by that "zip_..."
in path; an alternate approach may be extracting the filename w/o path
from the whole string ("File_di_input.xlsx" in this case) and then
using MIME type mapping to decide if it's a compressed file or not

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications 
Manager
Applications Manager provides deep performance insights into multiple 
tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test






DISCLAIMER:
*******************************************************
This email and any files transmitted with it may be confidential, legally 
privileged and protected in law and are intended solely for the use of the 

individual to whom it is addressed.
This email was multiple times scanned for viruses. There should be no 
known virus in this email!
*******************************************************

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to