Upload to URL icon

Upload to URL

Upload files for instant hosting and receive a shareable public URL. Delete anytime

File → Upload File

AI-generated

Summary

Upload a file to Upload to URL hosting service using either binary data from previous nodes or a base64-encoded string, returning a shareable public URL and file metadata.

Inputs

  • inputType (required) — Choose the input type: 'Binary Data' to upload files from binary properties of previous nodes, or 'Base64 String' to use a base64-encoded string for the file content.
  • uploadAllBinary — (Only if inputType is 'binary') Whether to automatically upload all binary properties found in the input item.
  • binaryPropertyName (required) — (Only if inputType is 'binary' and uploadAllBinary is false) The name of the binary property from the input item to upload.
  • base64Data (required) — (Only if inputType is 'base64') The base64 encoded file data to upload.
  • fileName (required) — (Only if inputType is 'base64') The file name to assign to the upload, including extension (e.g., document.pdf).
  • mimeType (required) — (Only if inputType is 'base64') The MIME type of the file, either auto-detected from file extension, selected from a list, or custom.
  • customMimeType (required) — (Only if mimeType is 'custom') Specify a custom MIME type string for the file.
  • expiryType (required) — Duration the file should remain available on the server, with options from 1 day to never, or a custom number of days.
  • expiryDays (required) — (Only if expiryType is 'custom') Number of days the file should remain available.

Output shape

a list of JSON objects, each containing metadata about the uploaded file including its public URL, paired with the corresponding input item.

When uploading multiple binary properties, multiple results are returned in a 'results' array. If no binary properties match the selection criteria, an informative JSON message is returned. Errors are paired with each input item when 'continue on fail' is enabled.

Examples

Example 1: Upload using binary data from previous nodes

Set Input Type to 'Binary Data', choose whether to upload all binary data or specify a specific binary property name, set Expiry as desired.

Example 2: Upload using base64 encoded string

Set Input Type to 'Base64 String', provide base64Data string, set the filename and MIME type (auto, predefined, or custom), and define expiry.

Links

Discussion