Download a file via FTP using juce::URL?

Hi!

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("ftp://ftp.example.com/test.jpg");
	sourceurl = sourceurl.withParameter("username", MyUserName);
	sourceurl = sourceurl.withParameter("password", MyPassWord);
	sourceurl.downloadToFile(LocalFile, "", this);