Login  
Search All Forums
Dart Home | PowerTCP Zip Compression for .NET | Custom Development Reply | PowerTCP Zip Compression for .NET Topics | Forums   
AuthorForum: PowerTCP Zip Compression for .NET
Topic: Operations on the temp file failed.
jimbo@csh.com.au

From: Eden Park VIC, Australia
Posts: 1
Member Since: 02/07/07
posted January 24, 2008 7:53 PM

Within One Solution, in two projects, in one the code works and in the other I get this. Is it becuase the files I am trying to do are tooo big or too small.
Is there a max/min size limit?
is it my choice of filename?
what is it Horatio, what is it?

Try
Archive1 = New Dart.PowerTCP.Zip.Archive
Archive1.Overwrite = Dart.PowerTCP.Zip.Overwrite.Always
Archive1.PreservePath = False
Dim strZippedFile As String = pAWS.modCsh_Utils.csh_getFolderPathName(prmpathfilename) + "\" + prmpathfilename.Replace(".", "_") + ".zip"
Archive1.QuickZip(prmpathfilename, strZippedFile)
Return strZippedFile
Catch ex As Exception
Return "*** error doing " + prmpathfilename
End Try
Amit

From: Rome, NY USA
Posts: 315
Member Since: 03/15/06
posted January 25, 2008 4:25 PM

Hello,

There is no max/min size limit imposed by our control.
This error occurs when the FileStream used for writing the resultant zip archive cannot be opened for writing, for whatever reason.

Best Regards,
Amit

------
-Non-current subscribers must contact sales@dart.com to update subscription and receive continued support as needed.
------

Reply | PowerTCP Zip Compression for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX