Start a Conversation

Unsolved

This post is more than 5 years old

836

February 14th, 2013 05:00

IE dropping .exe From Executable Via Sharable URL

For some reason every time we upload a Windows executable and then share it via a sharable URL it works fine in Chrome, Firefox, Opera, etc but will always download as an "Unknown File Type" with IE and after it's downloaded the file extension is missing. Any hints? We've tried setting various MIME-Types on the file and Content-Types on the upload.

110 Posts

February 14th, 2013 11:00

The only way I've found to get around this is to specify the filename in the content-disposition header.  You can do this in Atmos 2.0.3 and above.

If you're using the latest SDK in C# or Java, you can add a disposition value to the getShareableUrl() method like so:

URL url = api.getShareableUrl( objectPath, expDate, "attachment; filename=\"application.exe\"" );

The SDKs are available here:

http://code.google.com/p/atmos-dotnet/downloads/detail?name=EsuDotNet_2.1.0.30.zip

http://code.google.com/p/atmos-java/downloads/detail?name=atmos-java-2.1.0.zip

If you're using your own REST client, refer to the Atmos 2.1 Programmer's Guide (bottom of page 35), which describes how to generate a shareable URL with a content disposition.  The programmer's guide is available on PowerLink

Atmos Administrator's Guide  2.1 01

Pay particular attention to the signature algorithm as it includes the content-disposition value.

No Events found!

Top