Cannot delete file from ZIP archive



  • I recently sent you an e-mail with attached ZIP regarding a problem with PA not allowing files to be deleted from it. I haven’t received a response hence my message here.

    I’m pretty sure it is a problem with the DynaZip library since another app that uses it had the same problem.

    Any news on when it will be fixed.

    WinZip (and most other archivers) had no problems deleting files from it.


  • conexware

    we can not receive zip file, you can attach it on the forums…

    thanks



  • I originally sent it to general@conexware.com.

    Here it is again

    When you try to delete a file it says “Error in ZIP structure. Continue?” and the file is not deleted.

    However , when you test the ZIP archive PA says there are no errors in the ZIP structure.

    Please can you fix it because most other archivers can delete files from this archive with no problem.

    As mentioned before, I’m pretty sure it’s an error with the DynaZip library because another app which uses DynaZip has the same problem.
    attachment_p_254_0_still_cannot_delete_files_from_this_zip.zip



  • The proble is not the achive but the names of the files inside the archive i renamed the files then i tried delteing them with powerarchiver and it worked. the problemn is either the extension or the file names themselves. this problem was thought to be cured with powerarchiver but unfortuanately you’ve proved differently thanks.

    When will a fix for this come about?

    I have tested the file for errors using a more powerafull chaecking program, no errors in archive but file names a problem in powerarchiver or any with a similar coding.


  • conexware

    DynaZip shows an error in archive, which is why it can not work properly with the archive. It has nothing to do with specific filename or any specific PowerArchiver issue.

    I will send it to Ivan so he can check it out, after he comes back from vacation…

    thanks,



  • You might want to send the ZIP archive to the DynaZip people so they can make a fix.

    Then it’s simply a matter of re-compiling with the latest version of DynaZip.



  • why is it that renaming the file enables deletring of the file


  • conexware

    @davidsplash:

    why is it that renaming the file enables deletring of the file

    Most likely because then proper information gets stored into local and central zip headers, unlike now. We will check if it is Dynazip/PowerArchiver or ZIP error, so far finger is being pointed to the zip file with wrong header info.

    thanks,



  • I think it might have something to do with both ‘/’ and ‘’ chars being used as the path separator in the zip. As spwolf says, renaming will correct this in the local and central zip headers allowing it to be deleted.

    Just about all other archivers I’ve used allow you to delete files from the archive. Also, it seems odd that some operations in DynaZip support both ‘’ and ‘/’ but other operations don’t.

    I would like to see this problem fixed, with transparent handling of both ‘’ and ‘/’ for all operations.


  • conexware

    The problem is with different name in central and local archive header, so our ZIP engine won’t delete it or extract single file.

    The renaming file is just one workaround - the renaming file inside ZIP archives is our oun engine (DynaZip has nothing to do with this), so we cannot know the problem with ZIP delete/extract engine.

    We will contact DynaZip support to get their answer about this issue.



  • Hi Ivan/spwolf,

    Any news from DynaZip on this problem and whether they will update their library to handle it ? (I hope they will!)

    As mentioned in my previous posts WinZip and some other ZIP archive utilities can handle this file, so while the file may not adhere to the ZIP standard, I would still very much like to see PA handle it (which means the DynaZip library being updated)


  • conexware

    @deipotent:

    Hi Ivan/spwolf,

    Any news from DynaZip on this problem and whether they will update their library to handle it ? (I hope they will!)

    As mentioned in my previous posts WinZip and some other ZIP archive utilities can handle this file, so while the file may not adhere to the ZIP standard, I would still very much like to see PA handle it (which means the DynaZip library being updated)

    We shall see, we are still compiling list of things for them, however they are usually not to keen to support things that outside of standards and any update they do has to be verified by MS team so do not expect anything soon.

    thanks,


 

3
Online

9.8k
Users

6.0k
Topics

36.9k
Posts