On the tab FTP accounts in the Client Area you give other people their own FTP login for one folder of your service: to download your files, to upload files to you, or both. They never get your own password and cannot open anything outside that folder. For this, your service gets its own FTP server with two ports of its own. The steps were tested on our test service, with FileZilla 3.69.6 on the other side.
To send someone a link instead of a login, see FileBrowser Quantum: Manage and Share Your Files in the Browser. Your own FTP access: Download files from server via FTP – FileZilla. On Dedicated App Hosting you can also give a person a whole account of their own: Additional Accounts: A Separate Account for Each Person on Dedicated App Hosting.
1. Install Your Own FTP Server
In the Client Area, open your service and the tab FTP accounts. Click Install ProFTPD Server (1) and confirm with INSTALL. Keep the page open until the installation is finished.
2. The Address and the Two Ports
The tab now shows Your own FTP server details (1): the Hostname, the SFTP port and the FTPS port. The accounts you create here work only on these two ports (2). Your own main account works on them as well, and on the usual ports 21 and 22 as before.
3. Prepare the Folder
Each account gets one folder. The other person sees this folder and everything inside it, and nothing above it. The folder must exist before you create the account:
- for a folder you already have, note its path from your home folder, for example
downloads/for-anna; - for a new folder, create it first, with FileZilla or over SSH (SSH how to get connected):
mkdir -p ~/downloads/for-anna.
Use a simple name. The path may contain only letters, digits, spaces and the characters . _ - /, and it may be at most 50 characters long. A folder such as My Movie (2024) cannot be shared directly because of the brackets: put it into a folder with a simple name and share that one.
4. Create the Account
Fill in the form Create FTP Account:
- FTP Username (1): 3 to 30 lowercase letters and digits, for example
anna. - FTP Password (2): 12 to 30 characters with an uppercase letter, a lowercase letter, a digit and one of the special characters listed below the field. GENERATE PASSWORD makes one for you. You can read the password again later.
- Permission (3): what the account may do; see the table below.
- Path (4): the folder, written from your home folder and without
~/or/at the start, for exampledownloads/for-anna. If you leave the field empty, the account gets your wholedownloadsfolder. - VALIDATE PATH (5) checks the folder, and ADD ACCOUNT (6) creates the account.
Click VALIDATE PATH (1) before you add the account. For a folder that exists, the Client Area answers Path is valid and ready to use. (2)
If it answers Path is not valid. Check it and try again., one of these is the reason:
- the folder does not exist yet. ADD ACCOUNT then answers Failed to add FTP account.;
- the name contains a character that is not allowed, for example a bracket;
- the path is longer than 50 characters.
The answer Enter the path without ~/ or / at the beginning. means: write downloads/for-anna, not ~/downloads/for-anna.
What Each Permission Allows
This is what an account of each kind can do:
| The account can | READ | RW | FULL | STOR |
|---|---|---|---|---|
| see the names of the files | yes | yes | yes | yes |
| download files | yes | yes | yes | no |
| upload new files | no | yes | yes | yes |
| replace a file by uploading it again | no | yes | yes | yes |
| create folders and remove empty ones | no | yes | yes | no |
| rename or move files | no | only over SFTP | yes | no |
| delete files | no | no | yes | no |
- READ: for someone who only downloads from you.
- RW: for someone who also uploads to you. This person cannot delete files. Over FTPS they cannot rename them either. Over SFTP, an RW account can rename files and move them into subfolders.
- FULL: for someone you trust with the whole folder.
- STOR: for a folder where others leave files for you. They can upload and see the names, but they cannot download what is there.
Several accounts can have the same folder, each with its own permission.
5. What the Other Person Needs
Send the person the Hostname, one of the two ports, and the user name and password of their account. Never send your own password.
The person needs an FTP program, for example FileZilla; web browsers no longer open FTP addresses. Each of the two ports speaks its own protocol, and the program must be set to the protocol of the port:
| Setting | FTPS | SFTP |
|---|---|---|
| Port | the FTPS port | the SFTP port |
| Host in the Quickconnect bar of FileZilla | ftpes:// and the Hostname | sftp:// and the Hostname |
| Protocol in the Site Manager of FileZilla | FTP - File Transfer Protocol, with the encryption Require explicit FTP over TLS | SFTP - SSH File Transfer Protocol |
| At the first connection, FileZilla asks about | an unknown certificate | an unknown host key |
| Name in other FTP programs | FTP with explicit TLS, also called FTPES or FTP over TLS | SFTP |
Both protocols encrypt the connection, and every account works with both. Send the person one port and say which of the two it is. Without encryption, the server refuses the login with 550 SSL/TLS required on the control channel.
Steps 6 and 7 show what the person does in FileZilla. You can send them this article together with the login.
6. Connect With FileZilla
The quickest way is the bar at the top of FileZilla, Quickconnect.
With FTPS
- Host (1):
ftpes://followed by the Hostname, for exampleftpes://demo.seedhost.eu. The field is short and shows only the beginning of the address. - Username (2) and Password (3): those of the account.
- Port (4): the FTPS port.
- Quickconnect (5) connects.
At the very first connection, FileZilla may ask Remember passwords? Choose Save passwords if the connection is to be saved later (step 7).
FileZilla then shows the window Unknown certificate. This is expected. Your FTP server makes its own certificate when it is installed (1), so FileZilla cannot check it and also writes Hostname does not match certificate (2). The connection is encrypted all the same. The person ticks Always trust this certificate in future sessions (3) and clicks OK (4); FileZilla then does not ask again.
The folder then appears on the right side, Remote site. FileZilla shows its full path, which includes your user name; the folders above it cannot be opened.
With SFTP
Two fields are different: Host (1) is sftp:// followed by the Hostname, for example sftp://demo.seedhost.eu, and Port (2) is the SFTP port.
At the first connection, FileZilla shows the window Unknown host key. This is expected as well: FileZilla has not seen the key of your FTP server before. The person ticks Always trust this host, add this key to the cache (1) and clicks OK (2); FileZilla then does not ask again.
Uploads over SFTP with RW and STOR also work with the command-line programs sftp and curl.
Check the Fingerprint
Both windows show a fingerprint. To be sure that FileZilla reached your FTP server, compare it with the fingerprint on your service. Over SSH (SSH how to get connected), these commands print it:
- for Unknown certificate, the line Fingerprint (SHA-256):
openssl x509 -noout -fingerprint -sha256 -in ~/software/proftpd/ssl/proftpd.cert.pem - for Unknown host key, the line Fingerprints:
ssh-keygen -lf ~/software/proftpd/etc/keys/sftp_rsa.pub
Both commands print the fingerprints that FileZilla shows. FileZilla writes the first one in small letters.
If FileZilla Does Not Connect
Nearly always, the protocol and the port do not belong together. The message log under the bar then ends with Could not connect to server, and the lines above it show which case it is:
| What was entered | FileZilla writes | Do this |
|---|---|---|
ftps:// before the Hostname | GnuTLS error -15: An unexpected TLS packet was received. | Write ftpes://. ftps:// stands for another kind of FTPS, which your FTP server does not use. |
ftpes:// or no prefix, with the SFTP port | Cannot establish FTP connection to an SFTP server. Please select proper protocol. | Write sftp://, or enter the FTPS port. |
sftp:// with the FTPS port | FATAL ERROR: Remote side unexpectedly closed network connection | Write ftpes://, or enter the SFTP port. |
sftp:// without a port | Authentication failed. | Enter the SFTP port. Without a port, FileZilla uses port 22, which accepts only your own main account. |
ftpes:// without a port | 530 Login incorrect. | Enter the FTPS port. Without a port, FileZilla uses port 21, which accepts only your own main account. |
Without any prefix, FileZilla connects to the FTPS port as well, because it tries encryption on its own. Write the prefix all the same; then it is clear which protocol is meant.
7. Save the Connection in FileZilla
The Site Manager of FileZilla keeps a connection, so that the person does not have to type it again.
Copy a Connection That Works
This is the easiest way, because FileZilla takes over the protocol and the port. While FileZilla is connected (step 6), open the menu File and click Copy current connection to Site Manager (1).
The Site Manager opens with a new entry, and the right side is already filled in. Type a name for the entry (2), for example Shared folder FTPS, press Enter and click OK (8).
To connect the next time, click the small arrow next to the first icon of the toolbar (1) and choose the entry (2).
If FileZilla is still connected to a server, it asks in the window Already connected what to do with that connection. Abort previous connection and connect in current tab connects to the chosen entry.
Or Enter It by Hand
Open the menu File, click Site Manager, then New site (1), type a name (2) and fill in the right side:
| Field | FTPS | SFTP |
|---|---|---|
| Protocol (3) | FTP - File Transfer Protocol | SFTP - SSH File Transfer Protocol |
| Host (4) | the Hostname alone, without ftpes:// | the Hostname alone, without sftp:// |
| Port (4) | the FTPS port | the SFTP port |
| Encryption (5) | Require explicit FTP over TLS | this field is not shown |
| Logon Type (6) | Normal | Normal |
| User and Password (7) | those of the account | those of the account |
Connect (8) saves the entry and connects; OK saves it without connecting.
Two other choices in the list Encryption do not work with your FTP server. With Require implicit FTP over TLS, FileZilla writes GnuTLS error -15: An unexpected TLS packet was received. With Only use plain FTP (insecure), FileZilla warns in the window Insecure FTP connection; click Cancel there and choose Require explicit FTP over TLS.
If FileZilla Does Not Keep the Password
With the Logon Type Normal, FileZilla stores the password in the entry. Someone who prefers to type it at every connection chooses Ask for password.
If the window Site Manager - Cannot remember password appears and the entry changes to Ask for password, saving passwords is switched off in this FileZilla: the answer to Remember passwords? was Do not save passwords. To switch it on, open the menu Edit, click Settings, then Interface and Passwords, choose Save passwords and click OK. Then set the Logon Type of the entry to Normal again and enter the password.
8. Change or Remove an Account
Created FTP Accounts lists the accounts; the first one is your own main account. Show details opens an account with its Permission, Path and Password (1). SHOW reveals the password, COPY copies it and CHANGE sets a new one. The icons at the right end of a closed row (4) do the same as the buttons: the key changes the password, the lock the permission, and the bin deletes the account.
- CHANGE PERMISSION (2): choose the new permission (1) and click CHANGE (2). It applies at once, and the password stays the same.
- CHANGE at the password: the old password stops working right after the change.
- DELETE (3): confirm with DELETE (1). The account can no longer log in, and the files in its folder stay.
The Path of an account cannot be changed. Delete the account and create it again with the new path.
9. Stop, Restart, Reinstall or Uninstall the FTP Server
The four buttons under the server details act on the whole FTP server:
- Stop FTP Server: nobody can connect on the two ports any more; both refuse connections. The tab looks the same while the server is stopped. Restart FTP Server starts it again.
- Restart FTP Server: the accounts and the ports stay.
- Reinstall FTP Server: installs the server again. The ports and the files stay, but the accounts are removed, and the server gets a new certificate and a new key.
- Uninstall FTP Server: removes the server and its accounts. The files stay. A later installation gives the same two ports and no accounts.
Both remove every account you created on this tab. Your files stay. After a reinstall, create the accounts again and send the new passwords to the people who use them.
After a Reinstall: FileZilla Warns About the Key
Tell the people who use the accounts before you reinstall. At their next connection over SFTP, FileZilla shows the window Host key mismatch with the text Warning: Potential security breach! After a reinstall this is expected, because your FTP server has a new key. The person ticks Update cached key for this host (1) and clicks OK (2). Over FTPS, FileZilla shows the window Unknown certificate again (step 6).
A connection saved in the Site Manager still has the old password. It gets Authentication failed. over SFTP and 530 Login incorrect. over FTPS until the new password is entered in the entry (step 7).
If Host key mismatch appears although you did not reinstall the FTP server, the person should click Cancel and ask you first. You can check the key with the command in step 6.
If Something Does Not Work
- FileZilla writes Could not connect to server: see the table in step 6 for the messages of FileZilla. If the protocol and the port are right, the FTP server may be stopped: click Restart FTP Server.
- Connection refused although the protocol and the port are right, perhaps also for the apps in the browser: after ten failed logins on port 21 or 22, the server blocks the address they came from. This happens quickly when someone tries an account of this tab on those ports. See Connection Refused? Check and Unblock Your IP Address on the Firewall Tab. Wrong passwords on the two ports of your own FTP server do not block the address.
- 530 Login incorrect (FTPS) or Authentication failed (SFTP): the user name or the password is wrong; read the password with SHOW. The same happens on ports 21 and 22, and when the account no longer exists, for example after a reinstall.
- 550 SSL/TLS required on the control channel: the program uses FTP without encryption. Write
ftpes://before the host, or choose FTP with explicit TLS. - GnuTLS error -15: the program uses
ftps://or implicit TLS. Writeftpes://, or choose Require explicit FTP over TLS. - Unknown certificate comes back, or Host key mismatch appears: the FTP server was reinstalled and has a new certificate and a new key. See step 9.
- Operation not permitted or Permission denied when uploading, renaming or deleting: the permission of the account does not allow it. See the table in step 4 and use CHANGE PERMISSION.
- The person sees the wrong folder: an account sees only its Path. Check it under Show details.
- FileZilla asks for the password at every connection: see If FileZilla Does Not Keep the Password in step 7.
Good to Know
- Give each person their own account. You can then delete one account or change its password without touching the others.
- Files that other people upload are stored in your folder like your own files and take up space on your service.
- An account with your whole
downloadsfolder also sees everything you download later. For one person, a folder of its own is usually better. - An account that can upload can also replace files that are already in the folder: by uploading a file with the same name, and with RW over SFTP also by renaming a file to the name of another one. Keep your own copy of important files outside the shared folder.
- Files uploaded over SFTP get the permissions
rw-r--r--on the server, whatever they had on the computer. A script that must be executable has to be made executable again on the server.














