PHP/SWFUpload progress

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

Wishing you a merry xmas! As a gift to you a little thing that I figured out
through long googling and trial and error:

We are using the swfupload (flash) upload tool to upload files to a php
script. For a rather cryptic reason on some clients the progress would show
too quickly when AVG Link scanning was activated on a windows machine. The
upload would have completed, but it was actually still uploading. Sound
weird? Yes that's what we thought.

We ended up solving it by installing SSL (https) on that machine which
solved the problem because the anti virus cannot "see" the upload requests
and tamper with it.

I know this is not strictly PHP related, but since this list was always
helpful for me i thought i would share this for xmas.

There is a question that came up though:
When uploading to a php page i could find a temporary file that was growing
on the server. Couldn't one monitor the growth of that file and therefore
track the progress with AJAX poll requests? I know this is more overhead but
this seems more reliable to me when there is something funny going on on the
client machine, like with the above anti virus. I couldn't figure out how to
determine which temp file it was though, because the request would be still
going while the file is uploaded and you cannot read the $_FILES variable or
similar.

Kind regards,
Tim

++Tim Hinnerk Heuer++

http://www.ihostnz.com

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux