Free Support Forum - aspose.com

OST file read


#1

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.


#2

@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.


#3

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


#4

@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.