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

Mots-clés : 

Affichage de 1 message (sur 1 au total)
  • Auteur
    Messages
  • 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.

Affichage de 1 message (sur 1 au total)
  • Vous devez être connecté pour répondre à ce sujet.