Hello!

My company is using a php server(test server) which is connected with a proxy FTP server(proxy web server). Outside company, I can only access test server.
Is it possible to handle FTP transfer from test server to the proxy web server for update actions such as uploading files from test server to proxy web server?

    Do you mean that you want to use PHP's [man]ftp[/man] extension?

      Actually, I would like to use fopen() function, I have tested it in my test server and it works fine.

      Test Server condition:
      PHP Version 5.25
      allow_url_fopen on

      eg. $url = "http://test.com/index.html"; fopen($url, "r");
      result: it works fine

      the test is same as above but the result is ....fopen()...cannot open stream...
      in the official server.
      While I read the php code in the server that works. Only specified url is work
      eg. if $url = "http://work.com/index.html;
      it works.

      Official Server condition:
      PHP Version 4.3.11
      allow_url_fopen on

      Is there any way I can specify URL to allow or to block for fopen()?

      Thanks a lot!

        Write a Reply...