Knowledge Base
File Upload Errors
File Upload Problems
If you're having trouble uploading files through your website, FTP, or File Manager, here are common solutions.
Website Upload Errors
1. File Too Large
PHP has upload limits. Check/increase in DirectAdmin → PHP Settings:
- upload_max_filesize: Maximum single file size (e.g., 64M)
- post_max_size: Maximum POST data (should be larger than upload_max_filesize)
- max_file_uploads: Maximum files per request
2. WordPress Specific
WordPress may have additional limits. Try:
- Add to wp-config.php:
@ini_set('upload_max_size', '64M'); - Add to .htaccess:
php_value upload_max_filesize 64M php_value post_max_size 64M
3. Permission Denied
Upload folder permissions:
- WordPress uploads folder: wp-content/uploads
- Should have permission 755
- Owner should be your username
4. Timeout
Large files may timeout. Increase:
max_execution_time = 300 max_input_time = 300
FTP Upload Issues
1. Transfer Mode
- Binary mode: For images, videos, archives
- ASCII mode: For text files (HTML, PHP, CSS)
- Auto: Let FTP client decide (recommended)
2. Connection Timeout
For large files:
- Increase timeout in FTP client settings
- Use passive mode
- Consider using SFTP for better reliability
File Manager Upload
DirectAdmin File Manager has its own limits:
- Use FTP for files over 100MB
- Consider uploading archives and extracting on server
File Type Restrictions
Some file types may be blocked for security:
- .exe, .php files might be restricted
- Zip the file first if needed
- Contact support if you need to upload blocked types
Disk Space
Verify you have enough disk space:
- Check quota in DirectAdmin
- Clean up if near limit