Click here to Skip to main content
15,886,030 members

Comments by venkata1 (Top 3 by date)

venkata1 24-Jan-12 11:16am View    
Deleted
Reason for my vote of 5
it is nice one. works with out any third party library.
venkata1 24-Jan-12 11:14am View    
Deleted
Sorry. I got it working. This is due to the white space in Startup 20120120114707.log string.
venkata1 24-Jan-12 11:10am View    
Deleted
Thank you very much for the good article. But I tried to zip two files with the following code

IList<string> files=new List<string>();
files.Add(@"C:\Documents and Settings\VP32516\Application Data\AMC\Startup 20120120114707.log");
files.Add(@"C:\Documents and Settings\VP32516\Application Data\AMC\Startup 20120120114303.log");
ZipHelper.ZipFiles(@"C:\Documents and Settings\VP32516\Application Data\AMC\AMC.Zip",files);

It throws exception in ZipFilesToStream method 'Part URI is not valid per rules defined in the Open Packaging Conventions specification.'

Uri I got for the first file /Startup 20120120114707.log}

Thank you,