compressing problem

Dec 23, 2013 at 12:44 PM
Edited Dec 23, 2013 at 5:08 PM
(sorry for my english, i will try)

i'm making a game that gets his sources from a FTP server,

The Game download the zip file (pack.zip) and extract it in the gamefolder
but that is not the problem.

I made a editor for my game, and have a publish option in it; the program wil zip whole the project and upload it to the FTP server, so that the game will update.

with the editor, i can zip the folder.
but i can't open / extract it,
it says = zipfile is invaled

here are my code's of the editor, where the zip is gonna create:
Imports Ionic.Zip


Module Module1


    Public Sub zipp()
        Using zip As New ZipFile
            zip.AddDirectory("c:\gtamig\bin")
            zip.Save("c:\gtamig\pack.zip")
        End Using
    End Sub



End Module
here is the error
Image
(it's dutch, but it tells: can not open the map.
De zipped folder C:\gtamig\pack.zip is invalid
)

please help me,
Miguel Billiet