FTP / SFTP
Import files directly from FTP, FTPS, or SFTP servers
Overview
PrimeLink supports importing files directly from FTP, FTPS, and SFTP servers. This is ideal for large files, automated imports, or when files are managed on remote servers.
FTP (File Transfer Protocol) is the standard protocol, FTPS adds SSL/TLS encryption, and SFTP (SSH File Transfer Protocol) uses SSH for secure file transfer.
When to Use FTP/SFTP
- Large files that exceed upload size limits
- Files managed on remote servers
- Automated file delivery from suppliers
- Regular imports from external systems
- When you need secure file transfer (SFTP/FTPS)
- Bypassing web server upload limitations
Configuration
Step 1: Select FTP/SFTP Option
In Step 2 of the import wizard:
- Find the Upload From FTP/SFTP option
- Click to select it
- The FTP configuration panel will appear
Step 2: Configure Connection
Enter your FTP/SFTP connection details:
Protocol
- FTP: Standard File Transfer Protocol (port 21)
- FTPS: FTP over SSL/TLS (port 990 or 21)
- SFTP: SSH File Transfer Protocol (port 22)
Connection Details
- Host: FTP server address (e.g.,
ftp.example.com) - Port: Port number (21 for FTP, 22 for SFTP, 990 for FTPS)
- Username: FTP username
- Password: FTP password
- Passive Mode: Enable for FTP behind firewalls
File Path
- Root Folder (optional): Default directory to start from
- File Path (optional): Specific file path on server
- Leave file path empty to test connection only
- Use Browse button to navigate and select files
Step 3: Test Connection
Before proceeding:
- Click Test Connection button
- Wait for connection test to complete
- If successful, you'll see a confirmation message
- If it fails, check your credentials and try again
Step 4: Browse and Select File
If file path is not specified:
- Click Browse button
- A file browser will show files on the FTP server
- Navigate to your file
- Select the file you want to import
- The file path will be automatically filled in
Step 5: Continue Import
After selecting your file:
- Click Next to proceed
- PrimeLink will download the file from FTP
- The file will be parsed automatically
- Continue with the rest of the import wizard
Protocol Comparison
| Protocol | Port | Security | Use When |
|---|---|---|---|
| FTP | 21 | None | Internal networks, non-sensitive data |
| FTPS | 990 or 21 | SSL/TLS | Secure FTP with encryption |
| SFTP | 22 | SSH | Most secure, recommended |
Best Practices
- Use SFTP: Prefer SFTP over FTP for security
- Test connection first: Always test connection before setting up scheduled imports
- Use passive mode: Enable passive mode if behind a firewall
- Specify file paths: Use specific file paths for reliability
- Monitor file availability: Ensure files exist before scheduled imports
- Secure credentials: Never share FTP credentials
- Use dedicated FTP accounts: Create separate accounts for imports with limited permissions
Troubleshooting
Connection Failed
- Verify host, port, username, and password are correct
- Check firewall allows connections to FTP server
- Ensure server allows connections from your IP
- Try different protocol (FTP vs SFTP)
- Enable passive mode for FTP
- Check server is online and accessible
File Not Found
- Verify file path is correct
- Check file exists on FTP server
- Ensure root folder path is correct
- Use Browse to locate file
- Check file permissions on server
Timeout Issues
- Large files may take longer to download
- Check PHP timeout settings
- Verify network connection is stable
- Consider using scheduled imports for large files
SSL/TLS Errors
- Check SSL certificate is valid
- Verify server supports FTPS
- Try SFTP instead of FTPS
- Check server SSL configuration
Next Steps
Upload files directly from your computer
Learn More →Import directly from a remote URL
Learn More →Set up automatic imports from FTP
Learn More →