Hi, i am ziping some .pdf files to after download, when I run at VS2010 the zip was create correct, but when deploy at server the zip was create with 1kb, the WinRar open and show an empty zip file. I donĀ“t receive any error. If I create a small file(10MB) work well, the zip have about 70MB. But at production should be create zips with 1GB or more.
I tried in 2 servers, both with 8GB ram and Win 2008 64 bits.
I tried in 2 servers, both with 8GB ram and Win 2008 64 bits.
Dim ArqZip As String = "Order.zip"
Dim Package As ZipPackage = ZipPackage.CreateFile(PathCart & ArqZip)
For Each ArqPDF In ArqsPDF
Try
Package.Add(CaminhoCart & ArqPDF)
Catch ex as exception
TextNotifi.Text = ex.Message
TextNotifi.Height = 150
TextNotifi.Show()
Exit For
End Try
Next
Package.Close(False)
The ArqsPDF is a ArrayList with filenames