Home Forums .NET libraries Xceed Zip & Real-Time Zip for .NET ZipArchive capitalizes some filenames which are originally in UPPER case

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #20153 |

    Hello,

    A set of files located in a disk folder is being compressed to a ZipArchive as shown below:

    DiskFolder diskFolder = new DiskFolder(folder);
    diskFolder.CopyFilesTo(new ZipArchive(new DiskFile(packageName)), true, true);

    • There are three files in the source folder which use upper-case letters in their filenames (range A-Z):
      “FILEONE.CSV”, “FILETWO.CSV”, “FILETHREE.XXXXX” (third file has an extension consisting of 5 chars)
    • However, one of the file names in the output package is capitalized (= the first letter is shown as an upper-case letter and the remaining letters, including its extension, in lower-case):
      “FILETHREE.XXXXX” is included in the package as “Filethree.xxxxx”
      (FILEONE.CSV, FILETWO.CSV are included keeping the original filenames)

    Could you explain the reason why for some files the original file name is not kept?

    OS: Windows Server 2003.

    Thank you.

    Imported from legacy forums. Posted by arhsavin (had 1434 views)

    User (Old forums)
    Member
    Post count: 23064

    We do not reproduce this on our side.  Are you using the latest version?

    Imported from legacy forums. Posted by André (had 2045 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.