{
  "WorkItem": {
    "AffectedComponent": {
      "Name": "",
      "DisplayName": ""
    },
    "ClosedComment": "closed, won't fix.  The v1.7 features satisfy the requirement.",
    "ClosedDate": "2009-01-12T12:03:04.03-08:00",
    "CommentCount": 0,
    "Custom": null,
    "Description": "Currently, if somebody wants to create ZIP file from, for example, a bunch of temporary files, and wants to add those files to ZIP with different file names than those which they have on disk, he/she must use streams (inefficient - too many streams must be kept open in memory) or must rename the files on disk before adding them to ZIP (sometimes impossible because of name collisions). It would be great to have e.g. AddFileWithName method to allow customization of not only directory path but also name of the files being added to ZIP.",
    "LastUpdatedDate": "2013-05-16T05:32:33.267-07:00",
    "PlannedForRelease": "",
    "ReleaseVisibleToPublic": false,
    "Priority": {
      "Name": "Low",
      "Severity": 50,
      "Id": 1
    },
    "ProjectName": "DotNetZip",
    "ReportedDate": "2009-01-08T08:40:46.073-08:00",
    "Status": {
      "Name": "Closed",
      "Id": 4
    },
    "ReasonClosed": {
      "Name": "Unassigned"
    },
    "Summary": "Add a way to set custom name in the archive of ZipEntry",
    "Type": {
      "Name": "Issue",
      "Id": 3
    },
    "VoteCount": 1,
    "Id": 6899
  },
  "FileAttachments": [],
  "Comments": [
    {
      "Message": "In v1.7, the FileName property on the ZipEntry is settable.  So you can do: \r\n\r\nzip.AddFile(\"FileNameOnDisk.txt\").FileName = \"FileNameInArchive\"; \r\n\r\n",
      "PostedDate": "2009-01-08T15:22:51.557-08:00",
      "Id": -2147483648
    },
    {
      "Message": "Sweet, that's all that's needed. Thanks.",
      "PostedDate": "2009-01-11T07:16:40.03-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2009-01-12T12:03:04.03-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-02-21T18:44:33.773-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-05-16T05:32:33.267-07:00",
      "Id": -2147483648
    }
  ]
}