skipToMainContent
Loading AshHost...

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.

Port Notice: Always use Port 22 (SFTP) rather than Port 21 (regular FTP). Standard FTP is unencrypted and not installed on minimal Linux operating systems by default.

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.cfg or .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:

  1. Right-click the file on the remote pane and select File permissions...
  2. For standard scripts that need to be executed, enter numeric value 755 and click OK.
  3. 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

⚡ Trusted by 5,000+ Customers

India's Most Trusted Game Server Hosting

Discord bots, FiveM, SA-MP, Minecraft & more — powered by enterprise infrastructure. 99.9% uptime, 24/7 support, rated 4.9★ on Trustpilot.

5K+Customers
99.9%Uptime
4.9★Trustpilot
24/7Support