[
  {
    "Id": "108562",
    "ThreadId": "32746",
    "Html": "Hello,<br>\r\nI have two sites, I tested your zip dll on my test site which is on fulltrust and .net 2.0 and it worked really well no problem, it is when I started work on the where I am building my site, it is on dotnet 3.5 medium trust, and I cannot get your code to work.<br>\r\n<br>\r\nDoes your code work in a medium trust enviroment that runs dotnet 3.5. My host is crystaltech.com<br>\r\n<br>\r\nThank you <br>\r\n<br>\r\nKenny<br>\r\n",
    "PostedDate": "2008-08-01T10:33:40.903-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "108588",
    "ThreadId": "32746",
    "Html": "No, I never arranged to get the library to work on partial trust. <br>\r\nIt's an open request. <br>\r\n<br>\r\n",
    "PostedDate": "2008-08-01T12:49:40.28-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "108604",
    "ThreadId": "32746",
    "Html": "OK, I updated the library, v1.6, to allow partial trust (&quot;Medium&quot; for ASP.NET hosts).&nbsp; <br>\r\nTry it out, let me know if it works for you. <br>\r\n",
    "PostedDate": "2008-08-01T16:56:00.36-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "109613",
    "ThreadId": "32746",
    "Html": "\r\n<div dir=ltr align=left><span class=357095410-07082008>Thanks \r\nCheeso,<br>I will get back to you when I test it, I am an asp developer, I had \r\nhired a dotnet developer from Turkey the other day, we spent a few hours trying \r\nto get your other script to work, all in all I am trying to get hold of the chap \r\nagain to give me a hand as I know nothing of asp.net.</span></div>\r\n<div dir=ltr align=left><span class=357095410-07082008></span> </div>\r\n<div dir=ltr align=left><span class=357095410-07082008>I will keep \r\nyou informed.</span></div>\r\n<div dir=ltr align=left><span class=357095410-07082008></span> </div>\r\n<div dir=ltr align=left><span class=357095410-07082008>Cheers</span></div>\r\n<div dir=ltr align=left><span class=357095410-07082008></span> </div>\r\n<div dir=ltr align=left><span class=357095410-07082008>Kenny</span></div><br>\r\n<div class=OutlookMessageHeader lang=en-us dir=ltr align=left>\r\n<hr>\r\n<b>From:</b> Cheeso [mailto:notifications@codeplex.com] \r\n<br><b>Sent:</b> 02 August 2008 06:40<br><b>To:</b> \r\nkenny@theelbow.com<br><b>Subject:</b> Re: fulltrust required \r\n[DotNetZip:32746]<br><br></div>\r\n<div></div>\r\n\r\n\r\n<p>From: Cheeso</p>\r\n<div id=ThreadNotificationPostBody>OK, I updated the library, v1.6, to allow \r\npartial trust (&quot;Medium&quot; for ASP.NET hosts).  <br>Try it out, let me know if \r\nit works for you. <br></div>\r\n",
    "PostedDate": "2008-08-07T04:01:07.19-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "109857",
    "ThreadId": "32746",
    "Html": "great! &nbsp;I am very interested to hear how it works out for you. <br>\r\n",
    "PostedDate": "2008-08-07T20:12:56.247-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "118048",
    "ThreadId": "32746",
    "Html": "Hello<br>\r\n<br>\r\nI would just like to add that I am using this library with Sharepoint 2007, and it works under wss_minimal trust. <br>\r\nJust in case anyone wonders.<br>\r\n<br>\r\nUsed SharpZipLib before this, but I'm glad to see that this API has been made so much easier to use.<br>\r\n<br>\r\nIn particular I have an aspx page that shows images from a SharePoint Image Library. It gets all the metadata from MS CRM using a Web Service. I then needed to be able to pick some images using checkboxes and zip them. Quite simple, but it just didn't feel simple using the other Lib :-)<br>\r\n<br>\r\nWith this module I got it going with memorystream and download through browser. <br>\r\n<br>\r\nBest Regards,<br>\r\nThomas Lund<br>\r\n",
    "PostedDate": "2008-09-12T00:35:05.15-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "118145",
    "ThreadId": "32746",
    "Html": "Sweet!&nbsp; Glad to hear it is working out for you Thomas. <br>\r\nWhy is SharpZipLib so complicated? <br>\r\n<br>\r\nI don't know what it is that makes DotNetZip so much easier. Lots of people have said that.<br>\r\nI didn't look at&nbsp;SharpZipLib; actually I never even used that library. <br>\r\nI just designed a zip library according to what made sense to me. <br>\r\n<br>\r\nAnyway I'm glad it works for you.<br>\r\n<br>\r\nDon't forget, DotNetzip is donationware.&nbsp;&nbsp;If you find DotNetZip useful, <a class=externalLink href=\"http://cheeso.members.winisp.net/DotNetZipDonate.aspx\">consider donating. </a>\r\n",
    "PostedDate": "2008-09-12T07:58:40.99-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "119031",
    "ThreadId": "32746",
    "Html": "\r\n<div dir=ltr align=left><span class=265002907-17092008>Cheeso Good \r\nMorning,<br><br>I am not as bright as you guys, I have my asp pages, they work, \r\nmeaning I can upload 4 images at once, they are reduced and watermarked. I still \r\nretain the orignals which I need zipped. The zip file name is called from the \r\ndatabase.<br><br>I need help in doing the zip part and was wondering would it be \r\nrude to ask your hourly rate. Thats me hoping you do do this sometimes.<br><br>I \r\nam working on a personal project. I have tried many things on this and cannot \r\nget the zip to work.</span></div>\r\n<div><span class=265002907-17092008></span> </div>\r\n<div><span class=265002907-17092008>I do have logmein and can \r\ninvite yuo to my pc to show what is what etc.<br><br>Regards<br><br>Kenny</div>\r\n<div dir=ltr align=left><br><br></div></span><br>\r\n<div class=OutlookMessageHeader lang=en-us dir=ltr align=left>\r\n<hr>\r\n<b>From:</b> Cheeso [mailto:notifications@codeplex.com] \r\n<br><b>Sent:</b> 02 August 2008 06:40<br><b>To:</b> \r\nkenny@theelbow.com<br><b>Subject:</b> Re: fulltrust required \r\n[DotNetZip:32746]<br><br></div>\r\n<div></div>\r\n<p>From: Cheeso</p>\r\n<div id=ThreadNotificationPostBody>OK, I updated the library, v1.6, to allow \r\npartial trust (&quot;Medium&quot; for ASP.NET hosts).  <br>Try it out, let me know if \r\nit works for you. <br></div>\r\n",
    "PostedDate": "2008-09-17T00:36:22.723-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "119103",
    "ThreadId": "32746",
    "Html": "<p>Not me, I don't work hourly, but any .NET developer will be able to do this. </p>\r\n<p>&quot;cannot get the zip to work.&quot;&nbsp; What did you try?&nbsp; Can you show me the failure? <br>\r\nAlso this may be worthy of a new discussion thread. It seems to have nothing to do with fulltrust.</p>\r\n",
    "PostedDate": "2008-09-17T06:47:02.713-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "119106",
    "ThreadId": "32746",
    "Html": "\r\n<div dir=ltr align=left><span class=437534913-17092008>Cheeso \r\nThanks for the reply,<br>I didnt even try as I dont know where to start, I did \r\nhave some one helping me from Turkey , (that is when We identified that my \r\nserver was medium trust) but they are away on holidays at present. I can do \r\nlittle coding in asp and dreamweaver other then that I had a look at your code \r\nand its above me.<br><br>It would be great if your code was made into a \r\ndreamweaver extension.<br><br>I will look for a dotnet \r\ndeveloper.<br><br><br>Cheers</span></div>\r\n<div dir=ltr align=left><span class=437534913-17092008></span> </div>\r\n<div dir=ltr align=left><span class=437534913-17092008>Kenny</span></div><br>\r\n<div class=OutlookMessageHeader lang=en-us dir=ltr align=left>\r\n<hr>\r\n<b>From:</b> Cheeso [mailto:notifications@codeplex.com] \r\n<br><b>Sent:</b> 17 September 2008 14:47<br><b>To:</b> \r\nkenny@theelbow.com<br><b>Subject:</b> Re: fulltrust required \r\n[DotNetZip:32746]<br><br></div>\r\n<div></div>\r\n<p>From: Cheeso</p>\r\n<div id=ThreadNotificationPostBody>\r\n<p>Not me, I don't work hourly, but any .NET developer will be able to do this. \r\n</p>\r\n<p>&quot;cannot get the zip to work.&quot;  What did you try?  Can you show me \r\nthe failure? <br>Also this may be worthy of a new discussion thread. It seems to \r\nhave nothing to do with fulltrust.</p></div>\r\n",
    "PostedDate": "2008-09-17T06:52:32.9-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "119109",
    "ThreadId": "32746",
    "Html": "sorry can't be of more help. maybe a fresh post on this site, maybe someone wants to do the job.\r\n",
    "PostedDate": "2008-09-17T07:00:43.367-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "123362",
    "ThreadId": "32746",
    "Html": "<p>Hi<br>\r\n<br>\r\nI have tried your v1.6 library, and it works fine on local machine.&nbsp; When I load it onto my web host, which has &quot;medium trust&quot;, I get this error: - </p>\r\n<p>[SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]<br>\r\n&nbsp;&nbsp; System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark&amp; stackMark, Boolean isPermSet) +0<br>\r\n&nbsp;&nbsp; System.Security.CodeAccessPermission.Demand() +59<br>\r\n&nbsp;&nbsp; System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) +684<br>\r\n&nbsp;&nbsp; System.IO.FileStream..ctor(String path, FileMode mode) +64<br>\r\n&nbsp;&nbsp; Ionic.Utils.Zip.ZipFile.get_WriteStream() +199<br>\r\n&nbsp;&nbsp; Ionic.Utils.Zip.ZipFile.Save() +91<br>\r\n&nbsp;&nbsp; Admin_DownloadPictures.IonicZip(String strZipFileName, String sourcepath, String[] strFileNames) +179<br>\r\n&nbsp;&nbsp; Admin_DownloadPictures........<br>\r\n<br>\r\n(I can write to disk from elsewhere within the application. I am using VS2008, framework 3.5)<br>\r\n<br>\r\nI appreciate that this has more to do with my lack of understanding of the&nbsp;&quot;AllowPartiallyTrustedCallersAttribute&quot;, but any help would be appreciated, in particular, is there anything else I need to add to my application, to solve this permission issue.</p>\r\n<p>thanks<br>\r\n<br>\r\n</p>\r\n",
    "PostedDate": "2008-10-06T17:31:36.743-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "123383",
    "ThreadId": "32746",
    "Html": "<p>You are using the library in a web app, yes? </p>\r\n<p>Did you set the TempFileFolder property on the ZipFile instance?&nbsp; You should set it to a directory that is writeable&nbsp; by the IUSR account (or whatever account ASP.NET is running under). </p>\r\n<p>&nbsp;</p>\r\n",
    "PostedDate": "2008-10-06T21:22:12.757-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "123411",
    "ThreadId": "32746",
    "Html": "Many thanks.&nbsp; This now works.&nbsp; I have spent hours (and some money) trying to get a zip application to work&nbsp;in a web app on a remote host in medium trust.&nbsp; Your app does it!\r\n",
    "PostedDate": "2008-10-07T00:40:56.39-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "123484",
    "ThreadId": "32746",
    "Html": "Glad I could help!<br>\r\n<br>\r\nps: Did you know that DotNetZip is DonationWare?&nbsp;<br>\r\n<a href=\"http://cheeso.members.winisp.net/DotNetZipDonate.aspx\">http://cheeso.members.winisp.net/DotNetZipDonate.aspx</a>\r\n",
    "PostedDate": "2008-10-07T08:10:44.317-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "124154",
    "ThreadId": "32746",
    "Html": "thnx alot for updating it <br>\r\ni've made a donation just now.. it's not so much.. but it's the best that i can :-\\<br>\r\nSee the domain of my mother's email, it's not a concidence of my nickname.<br>\r\n<br>\r\nActually i'm still using your library for www.sims2max.com, on the administration page i can upload files that are zipped by the server, that's pretty cool :)<br>\r\nthnx alot again !\r\n",
    "PostedDate": "2008-10-09T14:20:49.833-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "124196",
    "ThreadId": "32746",
    "Html": "Glad it is working for you.&nbsp; Thank you for the donation!<br>\r\nevery little bit helps. <br>\r\nif every user of the library donated like you did, the Boys &amp; Girls club would get a really really big check!\r\n",
    "PostedDate": "2008-10-09T20:27:45.893-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "124331",
    "ThreadId": "32746",
    "Html": "\r\n<div><span class=312025015-10102008>Glad to help \r\n:)</span></div>\r\n<div><span class=312025015-10102008>    \r\ncheers.</span></div>\r\n<blockquote style=\"margin-right:0px\" dir=ltr>\r\n  <div dir=ltr class=OutlookMessageHeader align=left>-----Messaggio originale-----<br><b>Da:</b> Cheeso \r\n  [mailto:notifications@codeplex.com]<br><b>Inviato:</b> venerdì 10 ottobre 2008 \r\n  5.28<br><b>A:</b> max@max3d.it<br><b>Oggetto:</b> Re: fulltrust required \r\n  [DotNetZip:32746]<br><br></div>\r\n  <p>From: Cheeso</p>\r\n  <div id=ThreadNotificationPostBody>Glad it is working for you.  Thank you \r\n  for the donation!<br>every little bit helps. <br>if every user of the library \r\n  donated like you did, the Boys & Girls club would get a really really big \r\n  check! </div>\r\n  </blockquote>",
    "PostedDate": "2008-10-10T08:52:36.727-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]