Java Custom File Uploader (JCustomUploader)

April 22nd, 2010

About

JCustomUploader uploading files (errors here were intentionally triggered for demo purposes)
JCustomUploader is a simple, Java-based file uploader with a clean UI. It can run as an applet on your website or as part of a desktop application. This software is open-source and free to use or include in your own project.

 

Features

  • Clean, functional user interface.
  • Choose files or entire folders using the native file dialog box or drag and drop.
  • Multiple uploads in parallel.
  • Client-side image (or file) transformation.
  • Only requires Java 1.4 (or higher).
  • Cross-platform – Windows, Linux, Mac.
  • Free and open-source.

 

Additional Functionality

  • User Interface
    • Displays progress information
      • Progress bar for each upload.
      • Overall time and data remaining.
      • Current upload speed.
    • Cancel uploads at any time.
    • Retry failed uploads.
    • Clear completed uploads.
  • Pluggable Upload Mechanism
    • Upload files using any means you like: just extend AbstractUploadMechanism.
    • JCustomUploader handles getting the data to you, canceling uploads, and performing multiple uploads in parallel.
    • Built-in upload mechanisms include:
      • HTTP (raw binary data)
      • HTTP (multipart/form-data encoded)
      • SmugMug API (with OAuth or SmugMug sessions)
      • Test (pretends to upload files – useful for testing)
  • Custom Hooks
    • You can pre-process files before uploading them.
    • You post-process the response from the server.
    • A pre-processor for images which resizes them before uploading them is included.  The JCustomUploader Readme demonstrates it.

 

Screenshots