SWFUpload doesn't upload the files under Mozilla

vasylk's picture

Hello,
Project is based on ASP.NET(1.1.4322 ) C#.
I have such configration for my project in IIS - ASP.NET (1.1.4322 or 2.0.50727 never meter).

I have the same problem as here: http://swfupload.org/forum/generaldiscussion/580

I try to use different version of Mozilla FireFox - swfupload don't work: I see progress bar which don't increment % of uploading (swfupload is hanging up). When I try to click on cancel button - nothing happend. I try to debug JavaScript code but don't find any errors.

Also I have "SaveUploadFile.aspx.cs"-file which has such code:
HttpPostedFile upload_doc = Request.Files["Filedata"];
...
upload_doc.SaveAs(tempFilePath);
So when I set breakpoint for some line of current code I see that my code don't work at all (don't launched) - file don't stored.

Can you help me solve this problem.

P.S. All above problems I don't see under IE.

gyphie's picture

Diagnosing the issue

We don't have much to go on yet so this is what I'd do:

1. Enable request logging in IIS then verify that IIS is actually receiving a post from SWFUpload and verify that the path is where you expected.
2. Do a packet sniff/capture (I like WireShark but there may be easier tools out there). See what the conversation between SWFUpload and the server looks like.
3. Make sure "debug" is enabled in your SWFUpload settings
4. Make sure you are handling all the error events. Use FireBug in FireFox to set break points and see what events are being fired.