How to Upload & Download Files on Your VPS using FileZilla (SFTP)
SFTP (SSH File Transfer Protocol) allows you to securely upload, download, and manage files on your Linux VPS using a graphical drag-and-drop interface like FileZilla or WinSCP. No FTP server installation is required on your VPS—SFTP works out of the box using your existing SSH credentials.
Step 1: Download & Open FileZilla
Download the free FileZilla Client from the official website (filezilla-project.org) and launch it on your computer.
Step 2: Connect via Quickconnect
At the top of the FileZilla window, fill in the connection bar:
| Host | sftp://YOUR_SERVER_IP (Always prefix with sftp://) |
| Username | root (or your administrative sudo username) |
| Password | Your VPS root password |
| Port | 22 (or your custom SSH port if changed) |
Click Quickconnect. When the Unknown host key prompt appears, check the box for Always trust this host and click OK.
Step 3: Understanding the Directory Layout
Once connected, FileZilla displays two file browsers:
- Left Side (Local Site): Files and folders on your personal computer.
- Right Side (Remote Site): Files and folders on your Ash Host Linux VPS.
Common standard Linux directories on your VPS:
/root- The default home directory for the root user. Ideal for scripts, bot folders, and personal tools./var/www/html- The standard directory where web servers (Nginx / Apache) serve website files./etc- System configuration files.
Step 4: Uploading, Downloading & Editing Files
- To Upload: Locate the files on your left pane, right-click them, and select Upload (or drag and drop them to the right pane).
- To Download: Right-click any file on the right pane and select Download.
- To Edit a Config File Directly: Right-click a file (e.g.,
server.cfgor.env) on the right pane and choose View/Edit. When you save and close your text editor, FileZilla will prompt you to upload the modified version back to the server automatically.
Setting File Permissions (chmod)
If a script or executable fails to run due to permissions, you can change permissions visually:
- Right-click the file on the remote pane and select File permissions...
- For standard scripts that need to be executed, enter numeric value
755and click OK. - For configuration files containing sensitive database passwords or API keys, use numeric value
600(owner read/write only).
Need Help with Your Server?
Our technical support team is available 24/7 to assist with server reboots, network checks, and OS rebuilds.
Open a Support TicketДали Ви помогна овој одговор?
Понудени резултати
Powered by WHMCompleteSolution