We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

OST file read

I have a ost file.

using (PersonalStorage personalStorage = PersonalStorage.FromFile(“test.ost”))
{
personalStorage.SaveAs(“test.pst”, FileFormat.Pst);
}

I use this code to convert the ost file into pst. But this code can,t open the ost file.
Please give me some suggestion to open the ost file.
i also attach my ost file.

@alibardisk,

Thank you for contacting Aspose Support.

We are unable to find the OST file that you mentioned. Please share the OST file so that we can investigate this scenario further.

Here is the link
https://drive.google.com/file/d/1Le_AEZtwICZuOREIOh1kUYbq8WuoT92z/view?usp=sharing

@alibardisk,

Thank you for sharing the OST file.

We tested the file using the code snippet given below.

PersonalStorage personalStorage = PersonalStorage.FromFile(@"adimpletionum@gmail.com.ost");
Console.WriteLine("File Format of OST: " + personalStorage.Format);

The above code throws an exception that the file is corrupted. Please share a working OST file so that we can investigate this scenario further.