Apache Commons Net FTPClient and listFiles()

后端 未结 3 1465
无人共我
无人共我 2020-11-30 03:25

Can anyone explain me what\'s wrong with the following code? I tried different hosts, FTPClientConfigs, it\'s properly accessible via firefox/filezilla... The problem is I a

3条回答
  •  天涯浪人
    2020-11-30 03:51

    usually the annonymous user doesn't need a password, try

    client.login("anonymous", "");
    

提交回复
热议问题