Package Information
Documentation
n8n-nodes-fileuploader-by-imran
A professional n8n community node for temporary file hosting with ID-based file management. Upload any binary file, get a unique ID and a public URL instantly โ no external services required.

โจ Features
- ๐ True Zero-Config โ Built-in native HTTP hijacker. Install the node and it serves files instantly. No Nginx, no webhooks, no port-forwarding required.
- ๐ Unique File IDs โ Every upload gets a 12-character hex ID for easy reference, retrieval, and deletion.
- ๐ Instant Public URL โ Host any binary file directly on your n8n instance's URL (
/f/filename.jpg). - ๐ Rich File Listing โ See all active files with ID, URL, MIME type, size, status, and expiration.
- ๐ Get by ID โ Retrieve full metadata for any file using its unique ID.
- ๐๏ธ Delete by ID or Purge โ Precisely remove files using their ID or clear everything at once.
- ๐ Fine-Grained Expiration โ Choose from 1 minute to 30 days, or set a custom duration.
- ๐งน Auto Cleanup โ Expired files are deleted every 10 seconds automatically.
- ๐ Auto URL Detection โ Intelligently detects your n8n base URL from environment variables.
- ๐ท๏ธ Custom Filenames โ Option to set your own filename for easy identification.
- ๐ MIME Detection โ Automatic MIME type detection for 50+ file formats.
- ๐ฏ Canvas Subtitle โ Shows the selected operation directly on the n8n canvas.
๐ฆ Installation
npm install n8n-nodes-fileuploader-by-imran
Or install through the n8n Community Nodes settings in your instance.
๐ง Operations
| Operation | Description |
|---|---|
| Upload | Upload a binary file and receive a unique ID + public URL |
| Get | Retrieve file details (URL, MIME, size, expiry) by ID |
| Get Many | List all active files with full metadata in a single output |
| Delete | Remove a file by ID or purge all temporary files |
โก Quick Start (True Zero Config)
Upload
- In any workflow, add the "Temporary File Uploader" node.
- Connect a node that outputs binary data (e.g., HTTP Request).
- Run the workflow โ you'll get a public URL on your n8n instance like:
https://your-n8n.com/f/abc123def456-image.jpg - Open the URL in your browser โ the file is served instantly! ๐
(No extra workflows, no opened ports, no proxy setup required!)
Get / Delete
- Use the
idfrom a previous Upload output. - Paste it into the File ID field.
Get Many
- Run the node with Get Many selected.
- Receive a single output containing
totalFilesand afilesarray with all active file details.
โฑ๏ธ Expiration Options
| Duration | Value |
|---|---|
| 1 Minute | 1m |
| 5 Minutes | 5m |
| 10 Minutes | 10m |
| 30 Minutes | 30m |
| 50 Minutes | 50m |
| 1 Hour (default) | 1h |
| 6 Hours | 6h |
| 12 Hours | 12h |
| 1 Day | 1d |
| 3 Days | 3d |
| 7 Days | 7d |
| 15 Days | 15d |
| 30 Days | 30d |
| Custom (Minutes) | custom |
Note: The default expiration is 1 hour if not explicitly set. The maximum custom value is 30 days (43,200 minutes).
๐ง Environment Variables
The node automatically detects your public URL using these variables (in order of priority):
| Variable | Description |
|---|---|
FILE_UPLOADER_PATH |
Storage directory for temp files (default: ~/.n8n/temp-files) |
WEBHOOK_URL |
Primary webhook URL |
N8N_PUBLIC_URL |
Public-facing n8n URL |
N8N_EDITOR_BASE_URL |
Editor base URL |
Important: This node uses Hybrid Memory-Sync. Files are stored both on disk and in the web-server's memory. This ensures it works instantly even on distributed hostings (like n8n Cloud or scaling Docker setups) where the worker and web-server don't share a filesystem. ๐
๐ Troubleshooting
"No files uploaded yet" or 404 Error
- Ensure you have run the upload at least once. The server only initializes when the first file is processed.
- If you are on a very restricted hosting, verify that your n8n instance can make internal HTTP requests to itself.
- Check your n8n console logs for any
[FileUploader]error messages.
Wrong URL generated
- The node tries to guess your URL. If it's wrong, set the
N8N_PUBLIC_URLorWEBHOOK_URLenvironment variable. - You can also use the Public URL override in the Additional Fields section of the node to manually force a specific domain.
File expired immediately
- Check your system clock. The cleanup worker relies on accurate system time for expiration logic.
Permission denied errors
- On Linux/Docker, ensure the n8n user has write access to the
.n8ndirectory or your customFILE_UPLOADER_PATH.
๐งช Development
# Install dependencies
npm install
# Build
npm run build
# Run linter
npm run lint
# Run tests
npm test
๐ Changelog
See CHANGELOG.md for version history.
๐ค Contributing
See CONTRIBUTING.md for guidelines.
Made with โค๏ธ by Imran
For Business Enquiries:
๐ง imran42633@gmail.com
โ๏ธ Telegram: @bangabandhusheikhmujiburrahman
