« Back to Add-on Library
Upload Endpoint
The endpoint provides a complete RESTful API for FileMaker developers:
- Upload Files - Send files directly from FileMaker to WordPress with secure HMAC-SHA256 authentication
- List Folders - Retrieve complete directory structures with file sizes and metadata
- Delete Files - Remove individual files with protection against system files
- Delete Folders - Remove empty folders programmatically
- Download Files - Trigger downloads through the API for integration workflows
- Flexible Destinations - Target uploads, wp-content, or WordPress root directory
### API Features
- Secure Authentication - HMAC-SHA256 signature verification on all requests
- Directory Management - Recursive scanning with full path information and file metadata
- Path Traversal Prevention - Security checks prevent unauthorized directory access
- System File Protection - Restricted file list prevents deletion of critical files (wp-config.php, index.php, .htaccess)
- Debug Mode - Detailed logging and diagnostic reports for integration troubleshooting
- Configurable Endpoint - Customizable URL slug and security settings
- JSON Responses - Clean, structured responses for easy integration with FileMaker calculations
### Requirements
✓ CWP Snippets Pro plugin installed on WordPress
✓ FileMaker Pro or FileMaker Go
✓ Basic understanding of FileMaker scripts and HTTP requests
✓ Ability to generate HMAC-SHA256 signatures in FileMaker
### Security
All requests are protected by HMAC-SHA256 signatures using a configurable security key. The endpoint validates:
- Request signatures against your secret key (never transmitted in URLs)
- File paths to prevent directory traversal attacks
- Filenames against a blacklist of protected system files
- Request parameters for valid values and safe operations
- Timestamps for request validity and replay prevention
---
## Included: Upload Endpoint Widget
As a bonus, this snippet comes with the Upload Endpoint Widget - a professional web-based file upload interface that uses the same secure endpoint. Perfect for giving users a modern, intuitive way to manage files on your website without needing FileMaker.
### Widget Features
- Multiple File Selection - Configurable upload limits with easy file selection
- Sequential Uploads - Files upload one at a time with progress bars and status
- File Information - Display file size, upload date, and file type indicators
- Visual Previews - Image thumbnails and file type icons for quick identification
- Download Management - Individual file downloads or bulk ZIP archive downloads
- Bulk Operations - Multi-select with select-all checkbox for batch operations
- Bulk Delete - Delete multiple files at once with automatic folder cleanup
- Drag & Drop - Professional drag-and-drop support for easy uploads
- Automatic Cleanup - Empty folders are automatically deleted after removing all files
- Responsive Design - Mobile-friendly interface that works on all devices
### Widget Use Cases
- Provide users with a secure file upload portal on your website
- Allow clients to upload documents without FileMaker access
- Create managed file libraries with download capabilities
- Build document submission forms with file management
- Give team members a web-based file management interface
---
## Ideal For
FileMaker Developers:
- Building file management dashboards in FileMaker
- Automating document uploads from FileMaker to WordPress
- Creating secure file workflows between systems
- Syncing file operations between FileMaker and WordPress
- Managing WordPress media library programmatically
Website Owners:
- Providing users with a secure web-based upload interface
- Creating downloadable resource libraries
- Building document submission and management systems
- Offering file management to team members and clients
### What's Included
✓ Complete PHP endpoint code with security validation
✓ Admin settings page for configuration and key management
✓ Setup & Usage documentation with FileMaker URL formatting
✓ Upload Endpoint Widget sample for front-end file management
✓ FileMaker sample file demonstrating all features
✓ Debug mode for integration troubleshooting
---
Perfect for developers and organizations needing a secure bridge between FileMaker and WordPress file management systems.
- Upload Files - Send files directly from FileMaker to WordPress with secure HMAC-SHA256 authentication
- List Folders - Retrieve complete directory structures with file sizes and metadata
- Delete Files - Remove individual files with protection against system files
- Delete Folders - Remove empty folders programmatically
- Download Files - Trigger downloads through the API for integration workflows
- Flexible Destinations - Target uploads, wp-content, or WordPress root directory
### API Features
- Secure Authentication - HMAC-SHA256 signature verification on all requests
- Directory Management - Recursive scanning with full path information and file metadata
- Path Traversal Prevention - Security checks prevent unauthorized directory access
- System File Protection - Restricted file list prevents deletion of critical files (wp-config.php, index.php, .htaccess)
- Debug Mode - Detailed logging and diagnostic reports for integration troubleshooting
- Configurable Endpoint - Customizable URL slug and security settings
- JSON Responses - Clean, structured responses for easy integration with FileMaker calculations
### Requirements
✓ CWP Snippets Pro plugin installed on WordPress
✓ FileMaker Pro or FileMaker Go
✓ Basic understanding of FileMaker scripts and HTTP requests
✓ Ability to generate HMAC-SHA256 signatures in FileMaker
### Security
All requests are protected by HMAC-SHA256 signatures using a configurable security key. The endpoint validates:
- Request signatures against your secret key (never transmitted in URLs)
- File paths to prevent directory traversal attacks
- Filenames against a blacklist of protected system files
- Request parameters for valid values and safe operations
- Timestamps for request validity and replay prevention
---
## Included: Upload Endpoint Widget
As a bonus, this snippet comes with the Upload Endpoint Widget - a professional web-based file upload interface that uses the same secure endpoint. Perfect for giving users a modern, intuitive way to manage files on your website without needing FileMaker.
### Widget Features
- Multiple File Selection - Configurable upload limits with easy file selection
- Sequential Uploads - Files upload one at a time with progress bars and status
- File Information - Display file size, upload date, and file type indicators
- Visual Previews - Image thumbnails and file type icons for quick identification
- Download Management - Individual file downloads or bulk ZIP archive downloads
- Bulk Operations - Multi-select with select-all checkbox for batch operations
- Bulk Delete - Delete multiple files at once with automatic folder cleanup
- Drag & Drop - Professional drag-and-drop support for easy uploads
- Automatic Cleanup - Empty folders are automatically deleted after removing all files
- Responsive Design - Mobile-friendly interface that works on all devices
### Widget Use Cases
- Provide users with a secure file upload portal on your website
- Allow clients to upload documents without FileMaker access
- Create managed file libraries with download capabilities
- Build document submission forms with file management
- Give team members a web-based file management interface
---
## Ideal For
FileMaker Developers:
- Building file management dashboards in FileMaker
- Automating document uploads from FileMaker to WordPress
- Creating secure file workflows between systems
- Syncing file operations between FileMaker and WordPress
- Managing WordPress media library programmatically
Website Owners:
- Providing users with a secure web-based upload interface
- Creating downloadable resource libraries
- Building document submission and management systems
- Offering file management to team members and clients
### What's Included
✓ Complete PHP endpoint code with security validation
✓ Admin settings page for configuration and key management
✓ Setup & Usage documentation with FileMaker URL formatting
✓ Upload Endpoint Widget sample for front-end file management
✓ FileMaker sample file demonstrating all features
✓ Debug mode for integration troubleshooting
---
Perfect for developers and organizations needing a secure bridge between FileMaker and WordPress file management systems.
Downloads
- Download v1.1.0 upload-endpoint-1.1.0.zip
- Download v1.0.0 upload-endpoint-1.0.0.zip