We have very large file and want to save it right to DataBase (to MongoDB), without MemoryStream (we have memory limit and a lot of work with large files simultaneously ). Other words, Does Aspose.Slides(and .Words, .Cells) support stream saving?
Below, this is exception, when Aspose want to read (why? we have not idea…) from upload stream.
Unhandled task exception: "System.NotSupportedException: Specified method is not supported.
at MongoDB.Driver.GridFS.GridFSForwardOnlyUploadStream1.Read(Byte[] buffer, Int32 offset, Int32 count) at Smartcat.MongoDBPersistence.GridFS.ManagedGridFSUploadStream
1.Read(Byte[] buffer, Int32 offset, Int32 count) in C:_Projects\MongoDBPersistence\MongoDBPersistence.GridFS\ManagedGridFSUploadStream.cs:line 88
at Smartcat.MongoDBPersistence.GridFS.Repository.GridFSStreamWithId`1.Read(Byte[] buffer, Int32 offset, Int32 count) in C:_Projects\MongoDBPersistence\MongoDBPersistence.GridFS\Repository\GridFSStreamWithId.cs:line 346
at Aspose.Slides. .(Stream , , UInt64 )
at Aspose.Slides. .(Stream , UInt64 )
at Aspose.Slides. .(Stream )
at Aspose.Slides. .(Stream )
at Aspose.Slides. .(Stream )
at Aspose.Slides. .(Stream )
at Aspose.Slides. .(Guid , Stream )
at Aspose.Slides.Presentation.Save(Stream stream, SaveFormat format, ISaveOptions options)
at Aspose.Slides.Presentation.Save(Stream stream, SaveFormat format)
Thank you!
p.s. version of Aspose.* is 19.11.0