Link to home
Start Free TrialLog in
Avatar of rtuplin
rtuplin

asked on

Problems with JUpload (Java Applet) not transferring all files.

Can anyone offer any help or advice, before I finally pull all my hair out!

I've got the Applet JUpload installed and working on a website.  For one file it works fine, for several, it works ok 80% of the time, but sometimes, it uploads all the files, but either doesn't move them (in the jupload-post.php) or it moves some but not others.

Initally I thought this was to do with file sizes, but seemingly not.  I've uploaded 10 images all of which were under 500K and it took them fine, the next time, the last five were lost! So I wondered if it was the number of images and uploaded 80 in one go to see what happened.  Having done this twice, on both occasions only 26 are moved!  Those 26 equalled about 8MB so I could understand that being a limit.

I can't work it out or understand it.  Its as if the applet isn't passing all the details through to the jupload-post.php file sometimes.

Can anyone offer any advice?  The JUpload applet is freely available from www.jupload.biz.  When it works, its one of the best i've seen!!  Failing anyone being able to offer any advice on the above, can anyone suggest a similar low cost applet that would present a similar UI and do the same job?

Cheers
Rich
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

I'm not thoroughly familiar with the applet, but what do you mean by 'move'?
Avatar of rtuplin
rtuplin

ASKER

The applet uploads the files to the server and places them in a tmp folder with a temporary file name.  In the PHP code there is then a move_uploaded_files command, which moves the file from the tmp folder to the place I want it on the server.

On the occasions when the system loses the files, its as if the above procedure isn't been carried out, although the applet (which has progress bars) clearly shows that the image files are being uploaded.
Well it's important to determine which off these procedures is failing. I would check what ends up in the temp folder after an upload with a known set of files. If that bit's working OK, it would become a php problem...
Avatar of rtuplin

ASKER

I think its the server route temporary folder that files are being uploaded too, which I don't have access too.  However, from echo tags that I have placed in the PHP script, I can see that on the occasions we have missing files, the applet isn't passing the data across and the PHP script isn't executing, hence why I think its the applet at fault.
Avatar of rtuplin

ASKER

As no further comment and no outcome has been obtained, may I request that the question is removed and the points refunded.
>>
I can see that on the occasions we have missing files, the applet isn't passing the data across and the PHP script isn't executing
>>

Can you clarify this? Before, you were suggesting that some were coming over and other being left behind. If the script were not executing, then normally none should be coming over
ASKER CERTIFIED SOLUTION
Avatar of rtuplin
rtuplin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
OK. Glad you've got some result at least
Closed, 90 points refunded.
kb
Experts Exchange Moderator