I have successfully added a .kml local (to my windows machine) file as a vector layer to my QGIS project using the Data Source Manager "File"Source Type. I now want to do the same thing, but using FTP to a local FTP server which has .kml (or any other files e.g. .csv) on it. I have successfully setup a local Windows 10 FTP server on my machine (where my QGIS client is installed), and used FileZilla (free FTP client) to connect to my local FTP server to transfer files to and from. In FileZilla, the host is localhost, the username is my windows user name and the the password is my password and the Port is 21.
How do I configure QGIS Data Source Manager to do the same thing? I have selected HTTP/HTTPS/FTP in the type pull down list, but I need to enter a URI, as well as entering a Basic Authentication. So far, with my attempts, when I try to add the FTP source, I get a QGIS dialog saying "Invalid Data Source".