Hi Fabrice,
Welcome back!
On november 2017, Christian proposed to broadcast a FTP client module to the list, I must have missed the link, I cannot find the module.
You can install the repository via the GUI or the REPO command:
repo install http://files.basex.org/modules/org/basex/modules/ftp/FTP.jar
Please note that it’s not properly documented yet, but you can have a look at the Java source file that’s embedded in the archive. Here is a simple example how to list the files of a remote directory:
import module namespace ftp = 'http://basex.org/modules/ftp/FTP'; ftp:connect('host', 21, 'user', 'pw'), ftp:list('/'), ftp:disconnect()
Cheers Christian