Proxy Authentication Failed error

后端 未结 3 980
逝去的感伤
逝去的感伤 2021-01-23 10:39

I\'m trying to access an FTP server through an FTP SITE Proxy to bypass a firewall using it.sauronsoftware.ftp4j.FTPClient I know my username/password is correct be

3条回答
  •  既然无缘
    2021-01-23 11:39

    I found the solution...

    I discovered that the FTP client was responding with a different response code:

    200-User authenticated by FireWall-1 authentication

    In the source code of FTPProxyConnector, a response code of anything other than the regular

    230-Connected to server. Logging in...

    will throw an error.

    I had to decompile the class file for FTPProxyConnector and then modify the source code, then recompile and save it back to the jar. Worked like a charm.

提交回复
热议问题