Home Forums .NET libraries Xceed Zip & Real-Time Zip for .NET Error when extracting TAR error: "An unknown header type was encountered"

Tagged: 

Viewing 1 post (of 1 total)
  • Author
    Posts
  • shaul
    Participant
    Post count: 3
    #44673 |

    Hi,

    I’m getting an exception when trying to untar and specific file.

    Code:
    AbstractFile tarFile = new DiskFile(@”..\..\..\samples\tar_1234.tar”);
    var a = new Xceed.Tar.TarredFile(tarFile, @”*”);

    Call Stack:
    Unhandled Exception: Xceed.FileSystem.FileSystemNotSupportedException: An unknown header type was encountered.
    Type: Xceed.FileSystem.DiskFile
    FullName: C:\Users\shaul.royzen\Documents\DevPlayground\TarResearch\samples\tar_1234.tar
    at Xceed.Tar.TarredFile..ctor(FileSystemEvents events, Object userData, AbstractFile tarFile, String fileName)
    at Xceed.Tar.TarredFile..ctor(AbstractFile tarFile, String fileName)
    at Xceed.Program.Main(String[] args) in C:\Users\shaul.royzen\Documents\DevPlayground\TarResearch\XceedNew\Program.cs:line 22

    I can send the TAR file on demand.

    Can you help?

    Thanks,
    Shaul.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.