19.7.1.FTP Client

Virtuoso provides three functions that mimic their FTP command counterparts. These are:

ftp_get() - to retrieve a file from an FTP server.
ftp_put() - to submit a file to an FTP server.
ftp_ls() - list the contents of a directory on an FTP server.

The Virtuoso client uses free ports within the range 20000 - 30000 for active mode connections. This is configurable using the parameters: FTPServerMinFreePort and FTPServerMaxFreePort in the HTTPServer section of the Virtuoso INI file.