Download a file via FTP using juce::URL?


Documentation says URL class can be used to download a file via FTP. I’m trying to no luck, does this work only for anonymous access or what am I missing? How to add username and password correctly? I’ve tried something like this for example…

	juce::URL sourceurl("");
	sourceurl = sourceurl.withParameter("username", MyUserName);
	sourceurl = sourceurl.withParameter("password", MyPassWord);
	sourceurl.downloadToFile(LocalFile, "", this);