Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

6.1.1 - S3 still not downloading files
Last Post 01/14/2013 8:37 PM by Brandon Hartsell. 4 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Brandon Hartsell
New Member
New Member
Posts:73


--
01/07/2013 9:22 PM
In 6.1.1 if you use S3 as storage the properties are not set in S3 properly yet. If you upload say an mp3 file it will try to open the file in the browser. To get it to work correctly i have to manually set the properties to:

Content-Disposition: attachment; filename=FILENAME.EXT
Content-Type: binary/octet-stream

Then it behaves properly. Obviously manually doing this is not a long term solution. Can we please get this fixed?

this was not an issue in previous versions before the direct S3 downloads. The default action in the file types of DMX does have mp3 set to download. DMX is handling this properly but to get S3 to honor this you will have to code the above properties when DMX uploads to S3 or this will not work. There may be other solutions.
Brandon Hartsell
New Member
New Member
Posts:73


--
01/07/2013 9:49 PM
turns out i can just modify the Content-Type: binary/octet-stream
and get a positive result. The Content-Disposition is not necessary though it is nice for the file name.
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
01/07/2013 10:01 PM
I'll see if I can actually influence this. The new S3 download mechanism in fact just branches off to S3 so the download is directly from the Amazon servers.

BTW: you can revert to the old mechanism on the Storage Options settings of S3. That way the file is streamed through your own web server again.
Brandon Hartsell
New Member
New Member
Posts:73


--
01/09/2013 8:08 PM
[quote]
Posted By Peter Donker on 07 Jan 2013 22:01:09
I'll see if I can actually influence this. The new S3 download mechanism in fact just branches off to S3 so the download is directly from the Amazon servers. [/quote]

Yes I see that.

[quote]
BTW: you can revert to the old mechanism on the Storage Options settings of S3. That way the file is streamed through your own web server again.
[/quote]

Nice feature that is a great work around if we can't influence S3.
Brandon Hartsell
New Member
New Member
Posts:73


--
01/14/2013 8:37 PM
This was resolved with 6.1.2. Nice work!
You are not authorized to post a reply.