Home Forums .NET libraries Xceed Zip & Real-Time Zip for .NET MemoryFolder decompression error

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

    I have a strange problem using a memoryStream to decompress a zip file.

    When I decompress A.zip a first time, it works. But if I want to decompress it  again it crashes with this error message : 

    The requested operation is not supported by the item. Type: Xceed.FileSystem.MemoryFile FullName: RAM:\folder\ertert.xml

    Here is the code I’am using :

    Dim zip As New ZipArchive(New DiskFile(mainFile))
    Dim folder As New MemoryFolder(“RAM”, “folder”)
    zip.CopyFilesTo(folder, True, True)

    I tried to delete the folder, delete files inside …Etc but it continues to crash. 

    Imported from legacy forums. Posted by fred (had 1016 views)

    Xceed Support
    Post count: 5658

    Hi Fred,

    The code that you are using is 100% correct, so the problem is probably related to the zip file itself.

    Please upload the zip file as an attachment to your next reply (Options->Add/Update) so it can try to reproduce your issue.



    Customer Support 


    Imported from legacy forums. Posted by Alain [Xceed] (had 1562 views)

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