Setup a 'webftp'Created on 2016/10/20,
Pydio provides drivers for accessing a remote FTP server, and also specific settings of the auth.ftp driver to let you setup a “webftp” like configuration: user will be presented with a full-fledged FTP Connexion screen instead of a login screen, included the FTP Server connexion data (Host, Path, Port, etc.). This is typically handy for hosters who want to provide a FileZilla alternative to their customers.
Disclaimer: when used in the “webftp” mode and accessed through a mobile browser (iOS / android), Pydio will falsely propose the usage of the native applications, but they currently do not support this feature, as the login screen must be extended inside the application. Please make sure to inform your users of this limitation.
To achieve this setup, you need two things : a specific “dynamic” FTP-based workspace, and the correct configuration of the “FTP Authentication” driver in "Other Plugins" .
To be able to query the FTP server for the user authentication, the Auth Driver will refer to an underlying FTP workspace, that you need to set up in preamble. This workspace should be configured as follow:
- Parameter “FTP Server Tweaks” is normally mandatory, but it will be here dynamically set. To let the application save the config, just enter any characters here.
- Dynamic FTP: Set “Pass Ftp Data Through Auth Driver” to True
- Default Rights: Set the default rights to Read/Write, as once logged, it will be the actual workspace the user will use to access their remote FTP server.
FTP Auth Driver
Once the dynamic workspace is created, you will be able to edit the Core Configs > Authentication options, and select as main instance the “FTP Authentication” driver. Then, set up the driver as in the image below.
The “My FTP” here is the workspace created at previous step. The “Admin Login” should be a user of one accessible FTP server, that will be detected by Pydio as an admin if this user logs in.
Disclaimer: If you want to switch from the "ftp login" to the "old login" be sure that "admin login" and "ftp login" are the same
Make sure not to set a secondary auth driver, otherwise the dynamic login screen mechanism will not properly work.