Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
3.4k views
in Java FTP by
Suppose the FTP Server supports anonymous login, Should I use FileTransferCilent.setUserName(hostUser) and FileTransferCilent.setPassword(hostPass) before connecting to the server?If I should, what the username and password should be, An empty Stirng ("")?

1 Answer

0 votes
by (162k points)
username should be 'anonymous'.

password is normally set to your email address, but generally can be anything.

Categories

...