I want to know if it's possible through the SDK to modify an archive (zip/rar), by adding a new file to it without extracting the archive first and then recreating the new archive; so just append a file to it…and if it's possible to point out an example, or how to do that (C/C++).
1) LZMA SDK works only with 7z/XZ archives.
2) 7-Zip can update ZIP archives, but can't update RAR archives.
3) When you update ZIP archive, 7-Zip creates new ZIP file, and copies required files to new archive. It's safe way. So if your computer will be switched off during operation, you still will have correct copy of archive.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.