Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Upload js files to S3 with wrong content-type

WinSCP uses whatever you have configured in Windows for those file types.
Either fix your Windows settings or configure a type override in WinSCP:
https://winscp.net/eng/docs/rawconfig#mimetypes
ybh

Upload js files to S3 with wrong content-type

When uploading .js files to Amazon S3 storage, the Content-Type is set to binary/octet-stream instead of application/javascript.
When viewing these js files the browser downloads the files instead of viewing the files.