Notice: A session had already been started - ignoring session_start() in /var/www/postlet.com/redirect.inc.php on line 48
Postlet :: Java Upload Applet

0.15 - 4 SEPTEMBER 2008

Postlet is now able to resize images which are larger than a (user) set size, before uploading them to a server. Recently added is the ability to replace the files table with a "drop image" - See the SVN page for an example. Languages include EN, DE, NL, FR, ES, IT, NO, TU, FI.
DOWNLOAD the binary.

Installation of Postlet couldn't be simpler. All that is required is that you drop the Postlet.jar file into a directory on your webserver, and then edit an HTML page to look similar to my example page.

The following is a list of parameters (and possible values) that Postlet supports (∗ required):

† Colours are 24 bit decimal numbers with the red component in bits 16-23, the green component in bits 8-15, and the blue component in bits 0-7 (0 -> Black, 16777215 -> White). Use a HEX to Decimal convertor, to convert normal HTML code colours to the required value. Or simply use the following equation: value = (red*256*256)+(green*256)+blue - where the colour is the value from 0-255 for each colour.

Getting file upload support on your server however, may be much more difficult. For this reason, I've written a very short HTML page which mimics the way that Postlet sends files to a server. It is recommended that you get file uploads to work with this first, before trying to get them to work with Postlet.

If you're still having problems, then please post a message to the forums hosted on Sourceforge.

The format of the messages returned by server side scripts are shown below:

All reply messages should start with "POSTLET REPLY" followed by a line break

All reply messages should end with "END POSTLET REPLY" followed by a line break

The following are examples of the currently supported reply messages

  • Successful upload
    POSTLET REPLY
    POSTLET:YES
    END POSTLET REPLY
  • File type not allowed, do not retry
    POSTLET REPLY
    POSTLET:NO
    POSTLET:FILE TYPE NOT ALLOWED
    POSTLET:ABORT THIS
    END POSTLET REPLY
  • File too large, do not retry
    POSTLET REPLY
    POSTLET:NO
    POSTLET:TOO LARGE
    POSTLET:ABORT THIS
    END POSTLET REPLY
  • Server error, do not upload any more files ∗
    POSTLET REPLY
    POSTLET:NO
    POSTLET:SERVER ERROR
    POSTLET:ABORT ALL
    END POSTLET REPLY
  • Unknown error, try and upload file again
    POSTLET REPLY
    POSTLET:NO
    POSTLET:UNKNOWN ERROR
    POSTLET:RETRY
    END POSTLET REPLY

∗ Doesn't currently abort all files