Get a Quote   (408) 943-4100               TrueNAS Discord      VendOp_Icon_15x15px   Commercial Support Toggle between Light and Dark mode

Configuring FTP

  2 minute read.

Last Modified 2022-06-13 16:25 EDT

FTP Services Configurations

FTP requires a new dataset and local user account. Please create a individual account for FTP connection as it cannot be shared with other accounts, such as SMB connections.

Go to Storage > Pools to add a new dataset.

StoragePoolsAddDataset

Next, go to Accounts > Users > Add to create a local user on the TrueNAS.

AccountsUsersAdd

Assign a user name, password, and link the newly created dataset for the FTP share as the home directory of the user. This can be done on a per user basis, or create a global account for FTP, for example OurOrgFTPacnt, etc.

Return to Storage > Pools, find the new dataset, and click > Edit Permissions. Set the Owner fields (user and group) to the newly created user account. Be sure to click Apply User and Apply Group before saving.

StoragePoolsEditPermissionsBasic

Service Configuration

To configure FTP, go to the Services page, find the FTP entry, and click the .

Services FTP Options

Configure the options according to your environment and security considerations. See FTP Screen

Ensure chroot is enabled as this helps confine FTP sessions to a local user home directory and allow Local User Login.

Unless necessary, do not allow anonymous or root access! For better security, enable TLS when possible. This is effectively FTPS. When FTP is exposed to a WAN, enable TLS.

FTP Connection

Use a browser or FTP client to connect to the TrueNAS FTP share. The images here show using FileZilla, a free option.

The user name and password are those of the local user account on the TrueNAS. The default directory is the same as the user /home directory. After connecting, you can create directories and upload or download files.

FilezillaFTPConnect

See FTP Screen for more information on the FTP service screen.

Related FTP Articles