naik.apoorv Posted November 28, 2010 Share Posted November 28, 2010 Dear PHPFreak members, I have been searching a solution for serving a file download via my website. The file to be downloaded is actually on a remote server. What i need is a code that serves as a download medium without actually downloading the file to my web server. Something like masking file url Can anyone help me with it ??? Have been trying this since days. But no solution till date. Link to comment https://forums.phpfreaks.com/topic/220059-serving-a-file-download-of-a-remote-file/ Share on other sites More sharing options...
justin813 Posted November 29, 2010 Share Posted November 29, 2010 So you're wanting the user to be able to download the file theirsite.com/file.zip, but you want the link to say yoursite.com/file.zip, but you also don't want the file to have to be on your site? Link to comment https://forums.phpfreaks.com/topic/220059-serving-a-file-download-of-a-remote-file/#findComment-1140780 Share on other sites More sharing options...
naik.apoorv Posted November 29, 2010 Author Share Posted November 29, 2010 So you're wanting the user to be able to download the file theirsite.com/file.zip, but you want the link to say yoursite.com/file.zip, but you also don't want the file to have to be on your site? Yeah. The scenario is like this Remote File: http://www.xyz.com/setup.exe On my site I wish to use a file say " download.php " that provides the same contents of the file by accessing it but not downloading it to my server. Link to comment https://forums.phpfreaks.com/topic/220059-serving-a-file-download-of-a-remote-file/#findComment-1140847 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.