Adding in-use file to zip archive



  • Before I get that comment: Yes, I have noticed that there’s another thread on a similar topic. But that one drifted off into a seemingly completely irrelevant discussion over archive efficiency, so I didn’t read it all.

    I have a number of text files which I want to compress into a zip file. One of these text files is regularly being written to by a running application, so in a manner of speaking, it’s in use. PowerArchiver refuses to add the file to the zip file for this reason.

    BUT, at any time I can easily open the file in Notepad or another text editor that I use, so obviously the file is accessible if this is programmed correctly. Referring to the other thread - this has nothing at all to do with the format of the archive file I’m creating, but only with the way in which PA is accessing the in-use file. I hope there can be a fix for this soon.

    Thanks
    Oliver

    Edit: I just tried and found that the XP built-in zip tool can actually add the file to the zip file just fine. All the more reason to expect a quick fix for PA. Oh yes, my version is 9.50.28.



  • I also hoping for such a feature 😉



  • this is possible however it does cause problems as some files sometimes can not be archived correctly. I know this feature can be made avalaiable in zip 7zip and possibly cab, not sure about the rest. nice feature please can we have it.



  • @davidsplash:

    this is possible however it does cause problems as some files sometimes can not be archived correctly. I know this feature can be made avalaiable in zip 7zip and possibly cab, not sure about the rest. nice feature please can we have it.

    If you think that such a feature is in some way related to the format that’s used for the archive, could you elaborate on that? I don’t understand why that would be the case. Once the file can be satisfactorily read from the disk (which may not always be the case, that’s right, but in this specific case is obviously possible somehow), I don’t see why a programmer wouldn’t be able to whatever he likes with the file’s contents. If you can explain to me why I would be able to read a file from disk, but not write it somewhere else in whatever format I like, please do so.



  • i was only trying to state that this can cause problems but is possible to an extent and that extent is windows limitations.

    It not related to the format but the author has to add support for each format separatly in order to have this feature.


 

6
Online

9.8k
Users

6.0k
Topics

36.6k
Posts

Copyright © 1998-2018 ConeXware, Inc.
All rights reserved. Privacy Policy