Events S3

The S3 uploader provides many of the same events as the traditional uploader, but there are some additional events exclusive to S3 endpoints. If you plan to use the S3 uploader, then use the following table as your event reference. All methods outlined in the core/traditional documentation are also available in Fine Uploader S3, unless otherwise noted here.


The following syntax is the correct way to define event handlers:

callbacks: {
    onDelete: function(id) {
    onDeleteComplete: function(id, xhr, isError) {


Called before a request is sent to S3 if the temporary credentials have expired. You must return a promise. If your attempt to refresh the temporary credentials is successful, you must fulfill the promise via the success method, passing the new credentials object. Otherwise, call failure with a descriptive reason.