Does Google App Engine support ftp?

后端 未结 4 642
鱼传尺愫
鱼传尺愫 2020-12-11 03:50

Now I use my own Java FTP program to ftp objects from my PC to my ISP\'s website server.

I want to use Google App Engine\'s servlet to get Paypal IPN messages, then

4条回答
  •  醉话见心
    2020-12-11 04:27

    You can use the Apache Commons FTP client (org.apache.commons.net.ftp.FTPClient) if you put it into passive mode. Just do the following:

        FTPClient client = new FTPClient();
        client.connect(FTP_HOST);
        client.enterLocalPassiveMode();
    

    Then it won't call ServerSocketFactory, and life should be good!

提交回复
热议问题