FTP
You can work via FTP only with containers in the pools ru-1
and ru-7
.
Two connections are used for the FTP protocol to work:
- control connection — commands and responses are sent over it, they are text strings;
- data connection.
Object storage uses only passive data transfer mode. The process of connection establishment and data transfer is initiated exclusively from the client side.
Writing to the end of the file is not supported — attempting to do so will return response code 426.
Connection data
To connect to object storage via FTP is used:
- FTP host in the right pool;
- port 21.
Authentication is done using an S3 key — the Account Owner or User Administrator issues the key to the service user.When connecting via FTP, the Access key and Secret key fields from the key are used as login and password respectively.
Configure FTP
1. Set up access
Access can be configured by a user with the Account Owner or User Administrator role.
- Create a service user с role with access to the object store.If you are using a user with the Object Storage User role, the container must have a configured access policy.
- Issue an S3 key to the user.
2. Connect via FTP
Windows
Linux
Total Commander
Midnight Commander
FAR Manager
WinSCP
FileZilla
Windows Explorer
- Open Total Commander.
- From the Network menu, select Connect to FTP server.
- Click Add.
- On the General tab, in the Connection Name field, enter any name (for example, Servercore).
- In the Server field, enter the FTP host in the desired pool.
- In the Account field, enter the value of the Access key field from the S3 key.
- In the Password field, enter the value of the Secret key field from the S3 key.
- Check the Passive sharing mode (as Web browser) checkbox.
- Open the Advanced tab.
- In the File name encoding field, select UTF-8.
- Press OK. The profile will be saved.
- Click Connect.
-
Open Midnight Commander.
-
Press F9. The main menu opens.
-
From the Left (for the Left pane) or Right (for the Right pane) panel menu, select FTP Link.
-
Enter a string in the format
[<access_key>]@<ftp_host>
. Specify: -
Press Enter.
-
Enter the password — the value of the Secret key field from the S3 key. If all data has been entered correctly, the panel will display the contents of the object storage.
- Open FAR Manager.
- Press Alt + F1 (for the left panel) or Alt + F2 (for the right panel) to open the jump menu.
- Select NetBox from the transition menu.
- Press Enter.
- Press Shift + F4. The screen for creating a new connection opens.
- In the File Protocol field, select FTP.
- In the Host name field, enter the FTP host in the desired pool.
- In the User name field, enter the value of the Access key field from the S3 key.
- In the Password field, enter the value of the Secret key field from the S3 key.
- Press OK.
- To connect via FTP, select the created profile and press Enter.
- Open WinSCP.
- In the Transfer Protocol field, select FTP.
- Enter the hostname — the FTP host in the desired pool.
- Enter the user name — the value of the Access key field from the S3 key.
- Enter the password — the value of the Secret key field from the S3 key.
- Click More.
- Select the Environment section.
- In the UTF-8 encoding for file names field, select On.
- Click OK → Save.
- Enter the name of the connection (e.g. Servercore).
- If you want to save your password, check the Remember Password checkbox.
- Optional: check the Create shortcut on "Desktop" checkbox.
- Press OK.
- To connect via FTP, click Log in.
- Open FileZilla.
- From the File menu, select Site Manager.
- Click New Site.
- On the General tab, in the Host field, enter the FTP host in the desired pool.
- In the Input Type field, select Normal.
- In the User field, enter the value of the Access key field from the S3 key.
- In the Password field, enter the value of the Secret key field from the S3 key.
- Open the Transmission Settings tab.
- In the Transmission Mode field, select Passive.
- Open the Encoding tab.
- Select UTF-8 encoding forcibly.
- Click OK.
- From the Transmit menu, select Transmit Mode → Binary.
- From the File menu, select Site Manager.
- To connect via FTP, select the created site and click Connect.
- Open Windows Explorer.
- Right-click on This Computer and select Connect Network Disk.
- Click Connect to a website where you can store documents and images.
- Click Next.
- Select Select a different network location.
- Click Next.
- Enter the address of the object storage — FTP host in the desired pool.
- Click Next.
- Uncheck the Anonymous Login checkbox.
- Enter the value of the Access key field from the S3 key as the user name.
- Click Next.
- Optional: change the name of the connection.
- Click Finish.
- Enter the password — the value of the Secret key field from the S3 key.
- Check the Save password checkbox.
- Click Login. The connection appears in the list of local and network drives.
Nautilus
- Use Nautilus to open any directory.
- From the File menu, select Connect to Server.
- In the Server Address field, enter the FTP host in the desired pool.
- Click Connect.
- Select Registered User.
- Enter login — the value of the Access key field from the S3 key.
- Enter the password — the value of the Secret key field from the S3 key.
- Optional: check the Remember Forever checkbox.
- Click Connect.