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: Adding a pdf file of around 1.7 MB to zip, but it is not adding.
saurav4489

From: Gandhinagar, India
Posts: 2
Member Since: 03/03/11
posted April 14, 2011 3:21 AM

Hi,

I am using PowerTCP.zip version 2.0.1.0 and Runtime Version 1.1.4322. I need to add file to archive. It is attaching a 39 MB zip file very well and the performance is also very good, however when it encounters a PDF file of around 1.7 MB it just neglects/skips it and moves on to the next file.

I have used this to add files,
foreach (string file in attachments)
{
 archive.Add(file);
}

Please reply me with necessary solution and reasons for this as early as possible.
Nick B (Admin)

From: Utica, NY USA
Posts: 567
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted April 14, 2011 10:02 AM

Hello,

I've just tested adding a pdf file to an archive using archive1.Add with the current version of the control (2.1.0.2), and had no issue. Are you able to use the included Zip Manager sample to create a zip and add the pdf file to it manually?

What is the value of "file" when trying to add the pdf file? Does the file exist in the specified location and do you have access rights to it?

------
-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