You can send binary data via ajax with xhr2, you can send the data as a typed array or a blob. 'binary' isn't an encoding (character-set name). Iconv needs an encoding name to do its job. The file utility doesn't give useful information when it doesn't recognize the file format. It could be UTF-16 for example, without a byte-encoding-mark (BOM). Notepad reads that. Hi guys, I've used Firefox for a long time now and never had problems uploading PDF files to our club web site. Just tried doing it and got the following error message: File u3a-charterhouseflyer.pdf is of type binary/octet-stream, which for security reasons cannot be uploaded to your site. Please select another menu option or logout. I used Google Chrome browser and it worked fine. Izotope ozone 6 crack. What's the problem with Firefox? I recently upgraded from Windows 7 to Windows 10 if that's anything to do with it. Thanks, Nick. Just who or what exactly is sending that error message? Certainly not from FF, unless it's some errant extension. The wording '. Cannot be uploaded to your site.' Would be rather odd if it's coming from the OP's club website. Seems more like it would be coming from a hosting service. My coin gets wagered on that service screwing things up somehow. And just who made up the 'security reasons' the message is refrencing? Why is application/octet-stream considered insecure? It just means a series of bytes, which is appropriate for any file. Content Type Binary Octet StreamAnd IMO Firefox should not be trying to assign mime types to upload files. File-sniffers are notoriously inaccurate, and all the ones I've had on my Linux systems have been pretty ridiculous. The wording '. Cannot be uploaded to your site.' Would be rather odd if it's coming from the OP's club website. Seems more like it would be coming from a hosting service. From the site or from the hosting service, essentially one in the same. Someone along the line be it host or website are blocking, for whatever reason. I suppose they might be blocking the 'generic' application/octet-stream for 'security' reasons, where they would accept something that is purported to be a 'pdf'.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |