...
We are aware of the recently disclosed PHP2Shell vulnerabilities (CVE-2026-109618 and CVE-2026-109619) and can confirm Filestack is not impacted by these vulnerabilities.

Event Listeners

Event listeners are functions that run when something happens in an application. The Filestack File Picker for the web accepts callback functions in its options and calls them at set points during an upload.

File Picker Callbacks

  • onOpen and onClose: the picker opens or closes
  • onFileSelected: the user selects a file
  • onUploadStarted: the upload of the selected files starts
  • onFileUploadStarted, onFileUploadProgress, onFileUploadFinished, onFileUploadFailed: one file starts, progresses, finishes or fails
  • onUploadDone: all uploads finish. The callback receives the upload results, including each file’s handle and URL.
  • onCancel: the user cancels an upload

Example

client.picker({ onUploadDone: (res) => console.log(res) }).open();

Server-Side Events

To receive events on a server, use webhooks. Filestack sends an HTTP POST request to your URL for uploads, conversions, overwrites, deletions, video conversions and workflow results.

Documentation

Read the Filestack documentation page for this term.

Open the documentation