[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 573
  • Last Modified:

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
0
rtuplin
Asked:
rtuplin
  • 4
  • 4
1 Solution
 
CEHJCommented:
I'm not thoroughly familiar with the applet, but what do you mean by 'move'?
0
 
rtuplinAuthor Commented:
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.
0
 
CEHJCommented:
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...
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
rtuplinAuthor Commented:
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.
0
 
rtuplinAuthor Commented:
As no further comment and no outcome has been obtained, may I request that the question is removed and the points refunded.
0
 
CEHJCommented:
>>
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
0
 
rtuplinAuthor Commented:
We have three scenario's behind this.

a) files are uploaded by the applet, passed to the php script, processed normally.  Everything ok.

b) files are uploaded by the applet, not all of the uploaded files are passed to the php script, those that are are processed normally.

c) files are uploaded by the applet, none are passed the php script, which as a result, does not execute.

I have established that there is a java fault which affects MS IE7 and AOL9 (latest versions of each) which relates to a security measure implemented by Microsoft, which can affect file uploads.  We're not aware of the problem under Firefox.

However, as no outcome was available, the applet has now been changed to another system, which although not quite as good, does at least work correctly!  Hence the request to close the question off as it had been over two months with no response and it was now not required as a workaround had been found in house - i.e. change the applet!
0
 
CEHJCommented:
OK. Glad you've got some result at least
0
 
kodiakbearCommented:
Closed, 90 points refunded.
kb
Experts Exchange Moderator
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now