Exoon Posted December 19, 2010 Share Posted December 19, 2010 Hello, Ive got a script that downloads a file to my server. I want to be able to download a file from a site such as FileServe using my premium details. Ive tried http://username:[email protected]/file.rar but that dosent work, It just downloads a tiny small 30kb file. Is there a way i can set a cookie or somthing so my script has access to download file using my premium account? Thanks in advance Link to comment https://forums.phpfreaks.com/topic/222143-downloading-file-to-server/ Share on other sites More sharing options...
mattal999 Posted December 19, 2010 Share Posted December 19, 2010 You'll need to login to the website via cURL. Here's an example: http://www.phpfreaks.com/forums/php-coding-help/php-login-to-other-site-using-curl/ Link to comment https://forums.phpfreaks.com/topic/222143-downloading-file-to-server/#findComment-1149301 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.