FTP acces

Hello folks!
My question is, how to acces an FTP server with JUCE? I want to upload/download and list files with my GUIapp.
I just found a forum question with a code uses URL class’s ’ withParameter(“user”, “test”) ', ’ withFileToUpload ’ and ’ createInputStream ’ functions. I checked them but don’t really understand where should I write my username, password and after that when it works, what kind of command provides me listing files? I read almost the whole documentation of URL but i didnt find that.
Another question (because previously I worked in machine leraning and not familiar with network protocolls), do I need to use http:// or ftp:// in the connection url string?

Will be a big help if any of you can answer my questions!