FTP/FTPS

At Control Panel > File Services > FTP, you can enable FTP services to allow clients to access folders and data on the system. Before enabling FTP, make sure the following TCP ports of your router are being forwarded to the DiskStation device: 21 (default control connection), 20 (data connection for active mode) and 55536-55567 (data connection for passive mode).

To enable FTP service:

  1. Enable one of the following:
  2. Click Apply.

Timeout

FTP server will disconnect idle users after the specified period of time.

Port Number Setting of FTP Service

This section allows you to specify the port used for the FTP control channel.

Note:

The default port number for FTP control channel is 21. It can be set from 1 to 65535, excluding the following numbers: 20, 22, 23, 25, 80, 110, 137, 138, 139, 143, 199, 443, 445, 515, 543, 548, 587, 873, 993, 995, 3306, 3689, 5000, 5001, 5005, 5006, 5335, 5432, 6881, 8080, 7000, 7001, 8081, 9997, 9998, 9999, 50001, 50002, and eMule default ports: 4662 (TCP), 4672(UDP).

Port Range of Passive FTP

This section allows you to specify the port range used for Passive FTP connections. You can use the default port range or specify a custom range. The port range can be set from 1025 to 65535, and can contain up to 128 ports.

Reporting External IP in PASV Mode

By enabling this option, the server will report its external IP address to FTP clients. The reported IP address will be displayed in the FTP client's connection log. Once enabled, you can choose the automatically detected external IP address or manually input the external IP address of the DiskStation.

This option only works when the DiskStation is behind a NAT, and the FTP clients belong to a different subnet than the DiskStation does. In most cases, this option is unnecessary, but if FTP clients fail to connect to the DiskStation, then you can enabled this option and try again.

Enabling FXP

FXP stands for File eXchange Protocol. By enabling this option, FTP service will support server-to-server file transfer function.

Enabling FIPS Cryptographic Module

FIPS is supported on FTPS service using OpenSSL FIPS 140-2 validated cryptography module (Certificate #1747). By enabling this option, additional secure cryptography algorithms will be used by FTPS service to provide more secure sessions.

Supporting ASCII Transfer Mode

Enable this option to support ASCII transfer mode, allowing the DiskStation to properly transfer ASCII formatted plain text files via FTP.

UTF-8 Encoding

This option can be used to help FTP clients correctly display and handle files with multilingual filenames. To meet the needs of various FTP clients, the following three options are provided:

Connection Restriction

This section includes the following options.

Note: