📜 ⬆️ ⬇️

Soul cry: SSL + Firefox + Flash multiupload = brain break!

The situation is this: write a project in ASP. NET.

Task: Make a multi-upload for files. Not just a multi-thread. And so that when you click on BROWSE, you can choose many files at once.

Oops: input type = "file" ... it can not =)
')
Solution: use Flash Multiuploader. Any. Took swfupload

How it works: there is JS, there is Flash. They communicate with each other. When you click on the browse button, JS calls the FLASH function of the component, it opens the file dialog, the user selects files, presses open, flash (when you create the url where to download it) starts in turn to post files for a specific URL. Works!!!

What is bothering you? =) The client wanted SSL. Everywhere. Turned on. All browsers except IE stopped downloading files. IOError.

Googled Many are faced with this problem. On the official website swfupload about SSL is written:
“There are some reports that the Flash Player cannot upload through SSL. The issue has not been pinned down but uploading over SSL may be unreliable. ”

Ho ho ho ho That's where the ass is, sorry. You have to use jupload for sure - an ugly java applet.

The end.

Source: https://habr.com/ru/post/20962/


All Articles