Loading

Amazon S3 Connector – Example: Multipart Upload

Udgivelsesdato: Jul 10, 2025
Opgave

Perform a multipart upload to your S3 bucket using the Amazon S3 Connector for Mule 4

Trin
  1. Download the aws-s3-connector-v6-multipart-upload-example.jar file and import it into your Anypoint Studio.
  2. Open the config.properties file inside the "src/main/resources" folder.
    config-properties.jpg
  3. Put your AWS Access Key, Secret, region, and S3 bucket name in the config.properties file.
  4. For the "filePath" property, edit it to the full path of the sample RandomData.csv file, which is located in the "src/main/resources" folder of the provided jar file, in your file system.
  5. The "destFile" property specifies the destination filename when the file is uploaded to the S3 bucket.
  6. Run the app. Then, access the URL "http://localhost:8081/multi" to trigger the upload of the CSV file to the S3 bucket.

Disclaimer: This example is provided as a reference for your own usage and should be considered a custom solution. The custom solution is not a supported MuleSoft product.

Vidensartikelnummer

001115819

 
Indlæser
Salesforce Help | Article