Arama Yap Mesaj Submit
Request a Callback
+90
X
X

Select Your Currency

Turkish Lira $ US Dollar Euro
X
X

Select Your Currency

Turkish Lira $ US Dollar Euro

Contact Us

Location Halkali merkez neighborhood fatih st ozgur apt no 46 , Kucukcekmece , Istanbul , 34303 , TR
RFC 959 Standards SSL/TLS Security

What is FTP? How to Use?
2026 Comprehensive Guide

Dig deeper into File Transfer Protocol (FTP). Get expert-level knowledge of server administration, using FileZilla, and FTP automation with PHP. Manage your data quickly with Eka Sunucu assurance.

What is FTP (File Transfer Protocol)?

FTP (File Transfer Protocol) is a standard network protocol that was developed in 1971 and works on the TCP/IP protocol, allowing file transfer between two computers on a network. Even in 2026 it remains the most fundamental building block in web development.

Client-Server Architecture

FTP consists of client (your computer) and server (Eka Sunucu Hosting) uses two separate channels between:

  • Command Channel (Port 21): It carries commands and responses.
  • Data Channel (Port 20 or Random): It carries file data.

FTP vs SFTP Security

Standard FTP does not encrypt data. Eka Sunucu As we always ensure the security of your data. SFTP (SSH File Transfer Protocol) or FTPS (SSL/TLS) We recommend that you use . In this way, your passwords will not appear as "clear text" on the network.

Difference Between Active and Passive Mode

feature Active Mode Passive Mode
Link Starter The server connects to the client. The client connects to the server.
Firewall Problem It happens frequently (Port must be opened on client side). Rarely experienced (compatible with modern firewalls).
Suggestion For legacy systems. 2026 Standard: Always use Passive Mode.

Best FTP Clients

The most popular and reliable software you can use to connect to your FTP server are:

FileZilla

It is open source, Turkish language supported and the most popular client. There is support for Windows, Mac and Linux.

Download

WinSCP

It offers advanced features for Windows users. It is especially successful in SSH/SFTP operations.

Download

Notepad++ (NppFTP)

It's great for editing files without leaving the code editor. For details Notepad++ Guide you can look.

Go to Guide

FTP Connection Step by Step

To establish an FTP connection you need basic knowledge of 4 . You can get this information from your Eka Sunucu customer panel or via cPanel/Plesk.

connection_information.txt
1Server (Host): ftp.yoursite.com or 192.168.1.1 (Server IP)
2Username: user_name (Usually cPanel user)
3Parola: ******** (Your hosting password)
4Port: 21 (FTP) or 22 (SFTP - Recommended)

FileZilla Quick Connection Settings:

  1. Open FileZilla.
  2. Open "Site Manager" in the top left (Ctrl+S).
  3. Protokol: Select SFTP - SSH File Transfer Protocol.
  4. Presenter: Your IP address or domain name.
  5. Entry Type: Normal.
  6. Enter your user and password.
  7. Click the "Connect" button.
  8. Say "Yes" to the "Host Key" warning that appears on the first connection.

For Developers: FTP Automation with PHP

If you are a software developer, you may want to automate FTP operations. Below is an example of a modern PHP FTP class prepared by Eka Sunucu engineers.

FtpClient.php
1<?php
2class FtpClient {
3 private $connection;
4
5 public function connect($host, $user, $pass, $ssl = true) {
6 // Secure connection (FTPS) or standard FTP
7 if ($ssl) {
8 $this->connection = ftp_ssl_connect($host);
9 } else {
10 $this->connection = ftp_connect($host);
11 }
12
13 if (!$this->connection) {
14 throw new Exception("Failed to connect to server!");
15 }
16
17 // Log in
18 $login = ftp_login($this->connection, $user, $pass);
19 if (!$login) throw new Exception("Login failed!");
20
21 // Turn on passive mode (Required for modern servers)
22 ftp_pasv($this->connection, true);
23 }
24
25 public function uploadFile($localFile, $remoteFile) {
26 if (ftp_put($this->connection, $remoteFile, $localFile, FTP_BINARY)) {
27 return true;
28 }
29 return false;
30 }
31
32 public function __destruct() {
33 if ($this->connection) ftp_close($this->connection);
34 }
35}
36?>

Common FTP Error Codes

Errors you may encounter when using FTP and their solutions:

Error Code Meaning Solution Proposal
530 Not logged in Username or password is incorrect. Reset the password from the hosting panel.
421 Too many connections You have opened too many connections to the server at the same time. In FileZilla "Site Administrator" settings, reduce the number of simultaneous connections to 2-4 .
ECONNREFUSED Connection Refused The server firewall may have blocked your IP address or you are using the wrong port (21/22).
ETIMEDOUT Connection Timeout Check your internet connection or use Passive Mode.

Fast FTP Experience with Eka Sunucu

Your website's file transfer speed depends on the server's disk structure and network capacity. As Eka Sunucu, we:

Web Hosting

FTP accounts optimized for personal sites.

79.90₺/month
Review

Premium Reseller

Create unlimited FTP accounts for your customers.

149.90₺/month
Review

Virtual Server (VDS)

Set up and manage your own FTP server.

249.90₺/month
Review

Frequently Asked Questions

Is it safe to use FTP?
Classic FTP is not secure because passwords are transmitted in plaintext. As Eka Sunucu, we offer our services to all our customers. SFTP (Port 22) or FTPS We recommend using them.
What should the file permissions (CHMOD) be?
For security, folders are usually 755, if the files 644 should be. Configuration files (wp-config.php etc.) 400 or 440 can be done.
How do I upload large files quickly?
FTP loads thousands of small files (e.g. WordPress installation) slowly. Instead, it is much faster to .zip the files, upload them in one piece, and unzip them via the cPanel File Manager.
What is Anonymous FTP?
It is a method that does not require a username and password and is generally used on public file download servers. It is turned off by default in our hosting packages due to security risk.
Top