Monday, February 22, 2010

Java File Upload With Broken Resume and ProgressBar

Java File Upload With Broken Resume and ProgressBar


Internet connection broken is the very common problem with of all us.
When we all upload large/small file, we need uninterrupted internet connection supply.

If net connection breaks, then need to upload files again. And if net break many times during Uploading file then need many times to upload file.

I have faced this problem many-many times, I was uploading very huge size data.
It is very time taking, frustrating to upload one file many times.
So I have created this file uploader which having resume facility, it will upload file from the position, where net connection was broken. I have created it in three very popular web languages.

1) JSP/SERVLET
2) PHP
3) ASP.NET (CS, VB)

===================
How to Test?
===================
You can test it, just setup this uploader in you server,
I have given the code in the three languages which are widely used in computer world.
1) JSP/SERVLET,
2) PHP
3) ASP.NET (VB/CS) and made each directory for that.

When uploader upload the file, it will show the progress bar and percentage of data for ex: 1%, 10% etc.

Now this is the time for test, just unplugged you internet cable, then you can see after 4 or 10 second one button's text will be changed in this text "Resume" and a message will be appeared" net connection is broken click on resume button to process".

Now plugged in the internet cable and click on “Resume Button”.
Uploader will start from the position from where net connection was disconnected.


=============================
What we need for this Uploader?
=============================
Only Latest JRE, you can find/download it from Sun Site.


=================================
Where is Other Instruction?
=================================

I have made each instruction readme.txt in the JSP, SERVELT, DOTNET, CS, VB, PHP directory. Just read that file.


-Amit

7 comments:

  1. This uploader really works and is a very good utility to be embed with any kind of site....
    Hat's off to Amit

    ReplyDelete
  2. What about JFileUpload? http://www.jfileupload.com/

    ReplyDelete
  3. JFileUpload, Are you from JFileUpload.com company?

    ReplyDelete
  4. I can't reach the source code. Would you please help me in that???

    ReplyDelete
  5. Richey,
    it's source code is not open for public.

    ReplyDelete
  6. link Uploader1 and Uploader2 doesn't work

    ReplyDelete
  7. I Need that applet. cant find download link

    ReplyDelete