These forums are read-only and considered to be an archive. Please use the new Community for future interaction and posts.

Flash upload problems using SSL

On one server that is configured for SSL (HTTPS), the flash upload fails randomly. (UploadMethod="Flash")

Symptoms include security prompts, file upload failure and browser freeze up.

To get around this problem, we have switched to browser upload (UploadMethod="Browser').

Is this a known problem and is there a workaround?
Derek S 6/9/2008 10:02 AM
Are you using a self-signed certificate? This may cause problems with the Flash player. If so install that certificate to both the Firefox and IE certificate stores and see if it works.

Cem Alacayir 6/9/2008 6:26 PM
No. Any other suggestions?
Derek S 6/11/2008 8:47 AM
Please let me know if you still have the problem with v1.5.7.
Cem Alacayir 6/25/2008 7:32 AM
Hi Cem

I am having the same issues.  After solving our impersonation problems (http://www.gleamtech.com/support/forums/3776/upload-via-programmatic-impersonation) we found that we were able to download, create new folders, create zip files, and rename existing folders and files.  We could not upload files.  When we did this it would prompt us to login again and then freeze after we logged in.
We gave the user full control permission on the directory, but that didn't work either.  The last thing we tried was to move the application to a http site instead of a HTTPS (SSL) site.  This partially worked in that it didn't freeze and didn't prompt us to login, but it still didn't upload a file.  We have tried this both with both methods of uploading (Flash / Browser).  

Note: When in Flash mode the progress bar goes all the way across. When in Browser the progress bar stays at 0%.

Any help would be appreciated
Ben 5/20/2009 1:21 PM
Hi Ben,
Unfortunately, Adobe Flash does not properly handle HTTP Authentication. You will get the HTTP Authentication prompt but most often it won't authenticate (or freeze). This means when using HTTP Authentication, you will need to use Browser upload mode instead of Flash upload mode. 

Note that the problem is not about SSL and it will occur when you enable basic or digest authentication (HTTP 401 Challenge) in IIS. You should use another authentication method like Forms authentication or own authentication (cookie-based and not HTTP header based) if you need to use Flash upload mode.

Whenever you switch upload modes by setting the UploadMethod property, make sure you refresh the host page so that the selected mode is actually active before you test.
Cem Alacayir 5/24/2009 8:24 PM