FTP/FTPS Support
File Transfer Protocol (FTP) is a standard network protocol used to transfer files from one host to another over a TCP-based network.
FTP is built on a client-server architecture and uses separate control and data connections between the client and the server.
For secure transmission that hides (encrypts) the username and password, and encrypts the content, it is used FTP secured with SSL (FTPS).
The platform supports both FTP and FTPS.
Unlike HTTP, the FTP protocol is stateful: you establish a control connection for the duration of an FTP session that typically spans multiple data transfers.
FTP Usage:
- uploading/downloading resources
- downloading and reading logs for analysing
- editing configurations
- syncing files
- deploying applications (not recommended)
With Platform FTP feature is available for both application servers and databases.
Currently, FTP add-on is not compatible with Docker containers.
To benefit from FTP with the platform, you need to meet three requirements:
- to have FTP client installed (for example, FileZilla)
- to have compute node added to the environment
- to attach Public IP for the node in your environment
Let’s go step-by-step the process of adding FTP to your environment:
- Create Environment
- Install FTP
- Using FTP
- Transfer Files
- Download Log Files
- Synchronize Files
- Edit Configuration Files
- Deploy Application via FTP
- Switching FTPS
- Reset FTP Password
- State Custom FTP Password
- Uninstall FTP
Create Environment
-
Log in to the platform dashboard.
-
Click Create environment to set up a new environment.
- In the opened wizard select application server (e.g.Tomcat) or database (e.g. MySQL) and switch on Public IP.
Wait just a few seconds for your environment to be created.
Install FTP
- Click Add-ons button for your application server (or database).
- In the opened tab you’ll see the list of all applications available for adding to your environment. Find FTP and click Install.
- Сonfirm the installation by clicking Install button in the opened window.
- After adding FTP to the environment you’ll get the email with credentials for accessing (FTP links, Login, Password, IPs etc.).
Using FTP
Through FTP Client
-
Install and open any FTP client (e.g. FileZilla).
-
Enter your Host, Username and Password using the FTP credentials you’ve got in the email after installation. Perform the connection.
-
Now you can see the list of the config folders in your FTP client.
-
You can make the changes you need (download, copy, delete the files etc.) right from your FTP client.
-
If you refresh the data in the config tab for your server (or database) in the platform dashboard, you’ll see all changes made through FTP client.
Through Browser
-
Click Add-ons button for your application server (or database).
-
Find FTP in the list of applications. There you’ll see the list of IPs available.
-
Click on the IP link. In the opened browser tab fill in your FTP credentials (Username and Password which you’ve got in the email after installation).
-
After that the list of config folders are going to be opened. Here you can look through the files in all the folders.
Transfer Files
-
Install and open any FTP client (we use FileZilla as an example).
-
Enter your Host, Username and Password using the FTP credentials you’ve got via email after FTP installation. Perform the connection by clicking Quickconnect.
- You can upload or download files simply by double-clicking on them. To transfer directories and/or multiple files select them, right-click the selection and then click on Upload/Download in the popup menu.
-
You can simply drag the files from one directory and drop them on the other one for transferring.
-
Add your files to the queue if you want to transfer them later.
- One more useful feature is directory comparison. To quickly see differences between files on the local machine and the server, choose View > Directory Comparison, select either compare file size or compare modification time and click Enable.