FTP File Upload Data Ingestion
Bulk data import via FTP file uploads. Ideal for historical data migration, batch processing, and large dataset imports.
Overview
FTP (File Transfer Protocol) data ingestion allows you to upload large files containing sensor data, device readings, and historical information to CivIoT. This method is perfect for scenarios where you need to import bulk data, migrate from existing systems, or process large datasets that aren't suitable for real-time streaming.
Our FTP service supports multiple file formats including CSV, JSON, Excel, and custom delimited files, with automatic format detection and data validation.
FTP Server Configuration
• Supports both standard FTP and secure FTPS
• Passive mode for firewall-friendly connections
• Automatic SSL/TLS negotiation for FTPS
• Organization-specific credentials
• TLS encryption for secure transfers
• SSH key authentication available
File Structure & Organization
incoming/data: Upload your data files here for processing
processed: Successfully processed files are moved here
failed: Files with processing errors are moved here
Supported File Formats
• UTF-8 encoding recommended
• Auto-detects delimiters (comma, semicolon, tab)
• Header row support
• Maximum file size: 100MB
• Single JSON object or array of objects
• Nested structure support
• Schema validation
• Maximum file size: 50MB
• Multiple worksheet support
• Auto-detects data ranges
• Formula evaluation
• Maximum file size: 25MB
• Pipe, tab, or custom delimiters
• Fixed-width format support
• Custom field mapping
• Maximum file size: 100MB
Data Format Examples
Required columns: timestamp, device_id, sensor_id, type, value, unit
Optional columns: latitude, longitude, altitude, accuracy, metadata
Upload & Processing Workflow
1. Upload
Upload file via FTP to /incoming/data/
2. Validation
File format and data structure validation
3. Processing
Data parsing and transformation
4. Storage
Data stored in CivIoT database
5. Cleanup
File moved to /processed/ or /failed/
Processing Options & Configuration
Code Examples
Monitoring & Status
Best Practices
Use Descriptive Filenames
Include date, device type, and data type in filenames for easy identification.
Validate Data Before Upload
Ensure data quality and format compliance before uploading to avoid processing failures.
Use FTPS for Security
Always use FTPS (FTP over SSL/TLS) when transmitting sensitive data.
Monitor Processing Status
Regularly check processing status and handle failed uploads promptly.
Need Help with FTP Integration?
If you encounter any issues with FTP data ingestion or need assistance with your file uploads, our support team is here to help.
Contact Support