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

Free Support Forum - aspose.com

Open Powerpoint docs where full path in longer than 260 characters => does not work

Hi Aspose team,

during processing of documents (in this case PPTx) I am hitting limit that documents that are with long path cannot be opened due to:

"The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters."

Considering that there are some libraries which can process long path (for example, AlphaFS => http://alphafs.alphaleonis.com/) it will be great that you extend also Aspose components to be able to go around this crazy Windows limitation as this is certainly possible.
Can you please check?

Thanks,
Oliver
Hi,

we can close this topic as there is a workaround (provided over Tasks and OneNote forum):

// using the AlphaFS library to load the file
FileStream fs = Alphaleonis.Win32.Filesystem.File.OpenRead("path to file");

// Load the document into Aspose.Note.
// Has to be replaced with appropriate Aspose component
Document oneFile = new Document(fs);

I just tested and that worked :-).

BR,
Oliver

Hi Oliver,

I have observed the requirement shared by you that Aspose.Slides is adopting the Window limitation for file path not exceeding 260 characters. An issue with ID SLIDESNET-36888 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be automatically notified once the issue will be resolved.

We are sorry for your inconvenience,