Site structure
Version 7.x > Site structure > GET request for file downloads are Cancelled View modes: 
User avatar
Member
Member
christine - 10/23/2013 9:46:30 AM
   
GET request for file downloads are Cancelled
Hello,

I am trying to figure out why certain file type downloads are constantly returning 'Cancelled' as their status, along with the occasional error message in the console when downloaded using getDoc, getFile, getAttachment, or even just the url straight to the document.

For both .exe and .txt files, the GET request will always be cancelled and with .exe files it returns the message "Resource interpreted as Document but transferred with MIME type application/octet-stream". The file is still downloaded, but I would like to figure out why this is being cancelled since I am writing some code that returns a message if the GET request is successful.

Any help would be greatly appreciated!

User avatar
Member
Member
kentico_sandroj - 10/29/2013 5:52:07 PM
   
RE:GET request for file downloads are Cancelled
Hello,

We would be glad to assist, we just need a bit more information:

Is this behavior the same in all browsers?
How is the site being hosted? Azure, Amazon S3, etc.
Where in the system are you downloading these files? Live page, CMS Desk, etc.
Which hotfix has been applied to this instance (if any)?
How are your Page and HTML declarations configured?

E.G.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

Best Regards,
Sandro