My situation is illustrated in the figure below:
I have a file X on the main server A which I want to download from my local computer B and the file X is downloadable through HTTP. But, for some reason I am not allowed to download file from the main server A. However, I have an access to another server C which has PHP installed. I now want to download the file X via the server C by calling some PHP script on server C from my local computer B.
Is it possible to write one PHP script to do the above?
Any help in writing so will be highly appreciated.