Free Support Forum - aspose.cloud

Convert Microsoft Excel Spreadsheet to PDF and get PDF file size without downloading file to client using Aspose.Cells REST API

Hi Aspose’s Support,

I have converted Excel to Pdf as following sample :
https://docs.aspose.cloud/display/cellscloud/Convert+Excel+Workbook+to+Different+File+Formats

I don’t want download result pdf file with file size > 10 MB. How can I get the result pdf file size directly with no downloading file to client ?

I have referenced some storage API, but they don’t help me more.
https://docs.aspose.cloud/display/cellscloud/Working+with+Files+and+Storage+using+Aspose.Cells+Cloud

Thanks,
Chien

Hi Chien,


Thank you for contacting Aspose support.

The current set of Aspose for Cloud APIs do not provide the feature to inquire the size of a particular file on the cloud storage so we need to discuss this request internally and log it for implementation, if found feasible. We will shortly get back with updates in this regard.

Hi again,


This is to update you that we have logged a feature request under the ticket CELLSCLOUD-10321 for your requirement (Support an option to get the size of a single file without downloading it). Please spare us some time for further analysis and implementation. As soon as we have any updates regarding this feature, we will post here for your kind reference.

@tdchien

We have resolved CELLSCLOUD-10321, now API method response includes the resultant file size as well. So you can get the file size without downloading the output file.