FTP and File Management Complete Guide
Complete guide with step-by-step instructions.
FTP (File Transfer Protocol) uploads files to your web server. This guide covers FTP setup and file management.
What is FTP?
FTP transfers files between your computer and web server. Essential for uploading websites, themes, plugins, and backups.
FTP vs SFTP:
- FTP: Standard protocol, not encrypted
- SFTP: Secure FTP, encrypted (recommended)
- Port 21: FTP
- Port 22: SFTP
Getting FTP Credentials
Create FTP Account in cPanel
- Log into cPanel
- Click 'FTP Accounts' icon
- Enter username (e.g., john)
- Set strong password
- Choose directory (usually public_html)
- Set quota (unlimited recommended)
- Click 'Create FTP Account'
FTP Details:
- Host: ftp.yourdomain.com or server IP
- Username: username@yourdomain.com
- Password: Your set password
- Port: 21 (FTP) or 22 (SFTP)
FileZilla Setup
Download FileZilla:
- Visit filezilla-project.org
- Download FileZilla Client (free)
- Install on your computer
Connect to Server:
- Open FileZilla
- Click File → Site Manager
- Click 'New Site'
- Enter site details:
- Host: ftp.yourdomain.com
- Port: 21 or 22
- Protocol: FTP or SFTP
- Logon Type: Normal
- User: username@yourdomain.com
- Password: your password
- Click 'Connect'
FileZilla Interface
- Left Side: Your local computer files
- Right Side: Server files
- Bottom: Transfer queue and status
- Top: Quick connect and toolbar
Uploading Files
Upload Single File
- Navigate to file on local side (left)
- Navigate to destination on server side (right)
- Right-click file
- Click 'Upload'
- Or drag and drop file from left to right
Upload Entire Website
- Navigate to public_html on server (right side)
- Select all website files on local side (left)
- Drag and drop to public_html
- FileZilla uploads everything
- Wait for completion (10-30 minutes)
Downloading Files
- Navigate to file on server (right side)
- Right-click file
- Click 'Download'
- Choose local destination
- Or drag file from right to left
File Permissions
What are Permissions? Control who can read, write, execute files.
Common Permissions:
- 755: Directories (owner: all, others: read+execute)
- 644: Files (owner: read+write, others: read only)
- 600: Sensitive files (owner only)
- 777: Full access (insecure, avoid!)
Change Permissions in FileZilla:
- Right-click file or folder
- Click 'File permissions'
- Set numeric value or check boxes
- For folders: Check 'Recurse into subdirectories'
- Click OK
cPanel File Manager
Alternative to FTP - Web-Based:
- Log into cPanel
- Click 'File Manager'
- Navigate to public_html
- Upload: Click Upload button
- Create File: Click + File
- Edit File: Right-click → Edit
- Change Permissions: Right-click → Change Permissions
- Download: Select file → Download
Best Practices
- Use SFTP: More secure than FTP
- Strong Passwords: 20+ characters
- Backup First: Before major uploads
- Test Locally: Before uploading to live site
- Correct Permissions: 755 for folders, 644 for files
- Organize Files: Keep organized folder structure
- Delete Unused: Remove old files and backups
Common Issues
Can't Connect to Server
Solutions:
- Verify FTP credentials
- Check firewall blocking port 21/22
- Try passive mode in FileZilla
- Contact hosting support
Upload Failed / Timeout
Solutions:
- Check internet connection
- Try uploading smaller batches
- Increase timeout in FileZilla settings
- Use SFTP instead of FTP
Need help? Taiwan Web Hosting provides 24/7 support via chat, email, and phone. Contact support.
Ready to Get Started?
Choose hosting and launch your website today with 24/7 support.
