Well, you have to create or pirat a procedure of sockets, of demand and response http-sockets.
Unfortunately, I didn't conserve my code.
Well, if it is not a html server, but an unix server, administrator of this server has to create you a batch program, who will deliver you the file between the protocol (often sure integrity file protocol IP or more network secure protocol UDP, with the adequate port, and the IP V4 or maybe IP V6 address).
If it is a distant server, distanciated from your own network with the public network, your own administrator should apply rules in his firewall.
In this case, it won't be the protocol-port-address of the very distant administrator, but the protocol-port-adress furbished by your administrator, that you will parameter in your Socket-Something procedure.
Whatever, you must test BEFORE your procedure on local, with a distant test file in your network.
After that, you must be sure that your own network administrator has opened the network to this network.
So, I warn you of the risks of mis-understanding between your collegues.
Keep a touch ahead.