Issue with small files

Hey there!
I have swfupload successfully up and running, thank you for the great program (and its documentation ^^)!

Anyway, I have a problem uploading small images (0 - about 100kb).
The file is being uploaded, but not one event fires.

suggestions?

Cheers,
lamy.

gyphie's picture

At least one

It should not be possible for no events to fire if the upload is occuring.

You should at least be getting the uploadStart and one uploadProgress event.

You may not get more than one uploadProgress event. You might not even get the progress event where the uploaded bytes === total bytes. But you should always get uploadProgress for zero bytes.

Then just make sure that you are always returning data from the upload script and returning a 200 status code. That should ensure an uploadSuccess and uploadComplete event.

Thanks for your comment; But

Thanks for your comment;

But I just realized that not even the debug event fires.
No problem with bigger files though.

Quite odd. Should I mention that I do you jquery?

Here's the code :
http://nopaste.info/9eff4291df.html

Okay, got a test instance

Okay, got a test instance running:

http://inaustralia.de/test/

gyphie's picture

test

I uploaded 19 K file and it looks like it worked. The file appeared, then progress (purple) when to full, the file turned green and I got an alert box that said 'bla _' and then another that said 'BA'

Then all the buttons disappear.

Tested in Vista in IE7 and FF 3 (FP 10)

My only thought is that maybe something is causing the SWFUpload to get covered up or clipped off the screen after you've set it to 0x0 and that the browser is unhooking the movie from the script.