Hello all,
I was looking at python's zipfile and tarfile libs, and I noticed the following:
-There is no real way of updating a file without re-building another archive since any new file, even if it's name is already in use, is just appended at the end of the archive.
So, is there a way to program an updatable archive?
I would like to create one in either Python or C, or both(since it's easily mutable).
Any ideas welcome!
Edit:
Ok so here is the thing
I'd need a system that can archive plenty files into one, and possibly encrypt them, but I don't really care for now.
The problem is: systems such as zip, or tar, won't let you "update" a file. They will just append the new data at the end.
I wonder if systems exist(programmable in C++), such as a vfs,that can manage "updatable" archives of file.
Is it clearer now?
Last edited by manux; 03-16-2009 at 06:00 PM.
I think your topic is so intimidating... that no one can even see clearly the question!
Regards,
Arek Bulski.
last up I do
Oh my, I was just gonna mention one article on CodeProject but it got deleted. It was a very interesting thing.![]()
CodeProject: nFS - File System Within a File. Free source code and programming help
There are some articles there though. I hope you can find something there...
CodeProject: Files and Folders. Free source code and programming help
CodeProject: #zlib - Modifying Archives. Free source code and programming help
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks