The Media service allows you to upload a file with its original file name. The system returns the file name and the file together, therefore the browser can save your file with the original file name.

To store the name of your media file, provide the file name in the Content-Disposition header when uploading a file content.

Example:

  • Method: PUT
  • Request URL: https://s3.amazonaws.com/sap.yaas.us.stage.media.temp/507f191e810c19729de860ea?x-amz-security-token=AQoDYXdz...
  • Headers:
    • Content-Disposition: attachment; filename="filename.jpeg"

When you retrieve your media file, the system returns the Content-Disposition header along with the response from the Media service.

To learn more, see the Manage media tutorial of the Media service documentation.

  • Send feedback

    If you find any information that is unclear or incorrect, please let us know so that we can improve the Dev Portal content.

  • Get Help

    Use our private help channel. Receive updates over email and contact our specialists directly.

  • hybris Experts

    If you need more information about this topic, visit hybris Experts to post your own question and interact with our community and experts.