Recent

Author Topic: How to insert or replace a file in an existing zip-archive  (Read 2057 times)

zappa2

  • Newbie
  • Posts: 1
How to insert or replace a file in an existing zip-archive
« on: March 02, 2015, 10:14:00 pm »
I can't find a method to insert or overwrite in the zipper-unit from the fcl.
The only know way for me is: at first unzip  all files incl. subdirectories, then replace or insert my new file, and finally create a new zip-file from this directory. But this is very stupid, if I only want to overwrite only one simple text-file.
Have anybody an practicable solution?

howardpc

  • Hero Member
  • *****
  • Posts: 4144
Re: How to insert or replace a file in an existing zip-archive
« Reply #1 on: March 03, 2015, 10:48:46 am »
A simple, fault-free algorithm is not stupid in my book. The more straightforward a routine is,  the easier it will be to adapt and maintain in the future.

 

TinyPortal © 2005-2018