can I set Content-type on upload using Direct Amazon Uploader?

Oct 22, 2009 at 4:14 PM

Can I set the Content-Type header on the Direct Amazon Uploader?  I want to force all files to download instead of displaying on the browser when clicked on the Amazon file link.

Thanks,

Quynh

Coordinator
Oct 22, 2009 at 4:27 PM

Well then you just need different kind of component, not file uploader but Amazon browser.

You cannot change upload headers due to Amazon restriction. More on that:

 

http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/FileReference.html#download()
The text in red sais: The requestHeaders property of the URLRequest object is ignored; custom HTTP request headers are not supported in uploads or downloads. 

http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/FileReference.html#download() 

The text in red sais: "The requestHeaders property of the URLRequest object is ignored; custom HTTP request headers are not supported in uploads or downloads. "