Hello,
I had read the api document in Aspose to convert a doc file to a pdf file.
# Specify App SID and App Key
app_sid = "45******-1***-4***-a***-a***********"
app_key = "94******************************"
Aspose::Cloud::Common::AsposeApp.new(app_sid, app_key)
#specify product URI
Aspose::Cloud::Common::Product.set_base_product_uri("http://api.aspose.com/v1.1")
# set parameters
output_format = "pdf";
file_name = "MyFile.docx"
storage = ""
folder_name = ""
# Instantiate the Convertor class with an DOCX on Aspose Cloud Storage
docxConvertor = Aspose::Cloud::Words::Converter.new(file_name)
# Convert the file to PDF format and save it to local machine
docxConvertor.convert(output_format, storage, folder_name)
But the private file in S3 contains many parameters like AWSAccessKey, how can I pass it into the file name? And also, after the converting, how to config the folder to S3 destination?
Please give me the advise for this problem. Thanks!