Skip to main content

Setting filename in Content-Disposition for raw files.

Comments

3 comments

  • Official comment
    Tal Lev-Ami

    You can use the following syntax: http://res.cloudinary.com/demo/raw/upload/fl_attachment:wonderful/sample_spreadsheet.xls

    However, note that it will create another copy of that file on your account, so pay attention to storage if this is a common flow.

  • Shirly Manor

    If you want to set the file name you might want to try our SEO naming feature. Please note that `/raw/upload` should be replaced by `/files`. and `/image/private` should be replaced by `/private_images`.

    You can read more about it here:

    https://cloudinary.com/blog/how_to_dynamically_create_seo_friendly_urls_for_your_site_s_images

    0
  • Victor

    Sorry my question is focus on the SDK and integration. We are aware of the availability of these features, but they do not pertain to the usage we have described.

    My one and only goal is to upload a CSV

    and provide a download url to that uploaded csv with a different filename than the cloudinary key.

     

    Thank you.

    0

Post is closed for comments.