idea 无法连接到ftp 出现Could not list the contents of folder 的解决方案

在使用idea链接FTP的时候可能会出现 : Could not list the contents of folder,解决方案是:

1.打开高级设置,如图:

idea 无法连接到ftp 出现Could not list the contents of folder 的解决方案

2.选择被动模式,如图:

idea 无法连接到ftp 出现Could not list the contents of folder 的解决方案

3 .连接成功,如图:

idea 无法连接到ftp 出现Could not list the contents of folder 的解决方案