It looks like standard Java URL class FTP client cannot work with username having characters such as “@” and “.”.
The username I get from my hosting provider is something like “username@domain.com”, so the whole URL looks like “ftp://username@domain.com:password@domain.com“. It works perfectly with all ftp clients, but apparently not with Java. Any suggestions
Have you tried to encode these characters, i.e.
username%40domain.com:password?