I am attempting to setup a php script and host it on my small server which will allow me to download files using their company locations, but which makes it seem like it's originating from my server. Maybe using curl or htacess. Also I had been wishing there will be a method of getting around getting my server cope with the bandwidth. Does which make sense? Is possible?

-- Update

Type of just like a proxy, but with no file installing to memory after which delivering it towards the client.

This can be done simply by passing the prospective hyperlink to you script, open the url with file_get_contents(), curl or any other file functions and echo the information. ensure to create this content-Type header to "application/octet-stream" to pressure the browser in order to save the file rather than exhibiting it.

For the bandwidth: You'll suffer from it. In case your server downloads personal files, it'll consume the bandwidth. It'll make use of up two times since it needs to send the information.

I'm not sure the reason why you mention htaccess, because which has nothing related to your condition.

Also I had been wishing there will be a method of getting around getting my server cope with the bandwidth. Is possible?

No.

I'd recommend establishing a connecting system in your site like http://example.com/download.php?id=12 that will then forward straight to the remote file, this way you'd save money on bandwidth and when someone consider the link in your page it might seem like it originating from your server. It might still show another site within the download manager but when your attempting to save bandwidth it is a small cost to pay for.

Just help... I determined things i was requiring to complete, I am likely to use mod_xsendfile. It allows you place an exterior source for in which the file is situated, after which allows the consumer download the file not understanding in which the file really is situated.