Uploading and Managing Files via FTP and File Manager

Overview

Learn how to upload, manage, and secure files on your web hosting account using FTP clients (e.g., FileZilla, Cyberduck) or your hosting control panel’s File Manager. This guide covers connecting to your server, creating, deleting, and editing files/folders, and setting file permissions (CHMOD).

Prerequisites

  • Access to your web hosting control panel (e.g., cPanel).

  • FTP credentials (username, password, host, and port) provided by your hosting provider.

  • An FTP client like FileZilla or Cyberduck (optional for FTP access).

Connecting with FTP Clients

Using FileZilla

  1. Download and Install FileZilla

    • Download FileZilla from filezilla-project.org and install it on your computer.

  2. Configure FTP Connection

    • Open FileZilla and go to File > Site Manager.

    • Click New Site and name it (e.g., “My Website”).

    • Enter the following:

      • Host: Your server’s hostname (e.g., ftp.yourdomain.com or server IP).

      • Port: 21 (default for FTP).

      • Protocol: FTP - File Transfer Protocol.

      • Encryption: Use explicit FTP over TLS if available.

      • Logon Type: Normal.

      • User: Your FTP username.

      • Password: Your FTP password.

    • Click Connect.

  3. Upload Files

    • In FileZilla, the left pane shows your local files, and the right pane shows the server.

    • Navigate to the desired server directory (e.g., /public_html).

    • Drag and drop files from the left pane to the right pane to upload.

Using Cyberduck

  1. Download and Install Cyberduck

    • Download Cyberduck from cyberduck.io and install it.

  2. Set Up Connection

    • Open Cyberduck and click Open Connection.

    • Select FTP (File Transfer Protocol) or FTP-SSL (Explicit AUTH TLS) from the dropdown.

    • Enter:

      • Server: ftp.yourdomain.com or server IP.

      • Username: Your FTP username.

      • Password: Your FTP password.

      • Port: 21 (default).

    • Click Connect.

  3. Upload Files

    • Browse to the desired server directory (e.g., /public_html).

    • Drag files from your computer to the Cyberduck window or use the Upload button.

Using File Manager

  1. Access File Manager

    • Log in to your hosting control panel.

    • Navigate to the “File Manager” under the “Files” section.

  2. Upload Files

    • Go to the target directory (e.g., /public_html for website files).

    • Click Upload and select files from your computer.

    • Confirm the upload and verify the files appear in the directory.

Creating, Deleting, and Editing Files/Folders

In File Manager

  1. Create a File or Folder

    • In File Manager, navigate to the desired directory.

    • Click + File or + Folder in the toolbar.

    • Enter a name (e.g., index.html or images) and click Create.

  2. Edit a File

    • Right-click a file and select Edit or Code Edit.

    • Make changes in the text editor and click Save.

  3. Delete a File or Folder

    • Right-click the file/folder and select Delete.

    • Confirm deletion. Note: Deleted files may move to a Trash folder (if enabled) for recovery.

In FTP Clients

  1. Create a Folder

    • In FileZilla or Cyberduck, right-click in the server pane and select Create Directory or New Folder.

    • Enter a name and confirm.

  2. Edit a File

    • Download the file to your computer by dragging it to the local pane.

    • Edit it using a text editor (e.g., Notepad++).

    • Upload the modified file back to the server, overwriting the original.

  3. Delete a File or Folder

    • Right-click the file/folder in the server pane and select Delete.

    • Confirm the action.

Setting File Permissions (CHMOD)

Why Set Permissions?

File permissions control who can read, write, or execute files. Incorrect permissions can cause errors (e.g., 403 Forbidden) or security risks.

Recommended Permissions

  • Folders: 755 (read/execute for all, write for owner).

  • Files: 644 (read/write for owner, read for others).

In File Manager

  1. Navigate to the file/folder in File Manager.

  2. Right-click and select Change Permissions.

  3. Use the checkbox grid or enter the numeric value (e.g., 755 or 644).

  4. Click Change Permissions to save.

In FTP Clients

  1. In FileZilla or Cyberduck, right-click the file/folder in the server pane.

  2. Select File Permissions or Info.

  3. Enter the numeric value (e.g., 755) or adjust checkboxes.

  4. Save changes.

Troubleshooting Tips

  • Connection Failed (FTP): Verify your hostname, username, password, and port. Ensure your firewall allows FTP traffic.

  • Permission Errors: Check that files/folders have correct permissions (755 for folders, 644 for files).

  • Upload Fails: Confirm you’re in the correct directory (e.g., /public_html) and have sufficient storage.

  • Slow Transfers: Use a wired connection or test with a smaller file.

  • FTP File Manager FileZilla Cyberduck File Upload Fi, ftp, file manager, filezilla, cyberduck, cpanel file management, chmod, webhosting
  • 0 Kasutajad peavad seda kasulikuks
Kas see vastus oli kasulik?

Seotud artiklid

Managing MySQL/MariaDB Databases with phpMyAdmin

This guide provides step-by-step instructions for creating and managing databases and users,...

Installing and Managing Popular CMS (WordPress, Joomla, etc.)

This guide provides step-by-step instructions for installing and managing popular Content...

Understanding and Managing Subdomains and Addon Domains

This guide explains the concepts of subdomains and addon domains and provides step-by-step...

Redirecting Your Website (301 and 302 Redirects)

This guide explains 301 and 302 redirects, their purposes, and how to implement them using your...

Creating and Managing Cron Jobs with DomainHostia.in

Cron jobs are essential for automating repetitive tasks on your website, such as backups,...