i would copy files from one ZipFile to another ZipFile.
Why it issnt so easy?
' Copy files from b.zip to a.zip
Dim a As New ZipFile(CurDir() & "\a.zip")
Dim b As New ZipFile(CurDir() & "\b.zip")
a.BeginUpdate()
For Each c As ZipEntry In b
a.Add(c) 'Error: ICSharpCode.SharpZipLib.Zip.ZipException - Entry cannot have any data
Next
a.CommitUpdate()
a.Close()
I use the https://github.com/icsharpcode/SharpZipLib Library on .NET 4.5 Visual Basic.
Could anyone give me a tip?