Results 1 to 2 of 2
-
30th Jul 2011, 06:31 AM #1OPMemberWebsite's:
WarezRocker.info Share4U.org Imdb.WarezRocker.info DownTurko.org Host-Palace.com HeroTurko.proneed help in filesonic/wupload download using curl
hi guys,i need help in filesonic or wupload download using curl,as other filehost are using same method so i am able to make them but for filesonic i am not able to do,when trying to download file from fso its stores the filename in header,i need to fetch the filename from header and save the downloaded file with that name,so plz help me in that.
saninokia Reviewed by saninokia on . need help in filesonic/wupload download using curl hi guys,i need help in filesonic or wupload download using curl,as other filehost are using same method so i am able to make them but for filesonic i am not able to do,when trying to download file from fso its stores the filename in header,i need to fetch the filename from header and save the downloaded file with that name,so plz help me in that. Rating: 5
-
30th Jul 2011, 04:11 PM #2Respected MemberWebsite's:
DL4Everything.com Soft2050.inYou must be doing so with a premium account, right?
Edit: It must be using premium account
Try this, just did with filesonic api
PHP Code:<?php
$username = ''; //Add your username here
$password = ''; //Add your password here
$urls = array('http://www.filesonic.com/file/156544'); //Add all the urls here
$regex = '|/file/(([a-z][0-9]+/)?[0-9]+)(/.*)?$|'; // Heres the regex from api
foreach($urls AS $url) {
$matches = array();
preg_match($regex, $url, $matches);
if (!isset($matches[1])) continue;
$idedlink = str_replace('/', '-', $matches[1]) . ','; // Add the id's
echo file_get_contents("http://api.filesonic.com/link?method=getDownloadLink&u=$username&p=$password&ids=$idedlink")
}
?>
I dont have any premium account right now, therefore cant complete the whole code
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Uploading to FileSonic Using cURL
By Gaurav in forum Web Development AreaReplies: 71Last Post: 14th Jan 2012, 03:00 AM -
how to curl and proxy download
By musa in forum Web Development AreaReplies: 18Last Post: 29th Dec 2011, 03:48 AM -
[PHP] A simpler way to log into wUpload using PHP and CURL
By _Vick in forum Web Development AreaReplies: 8Last Post: 29th Nov 2011, 12:17 PM -
[PHP] Log into WUpload using CURL
By _Vick in forum Web Development AreaReplies: 0Last Post: 25th Nov 2011, 06:58 AM -
How can I download from filesonic using curl ?
By shounak2011 in forum Web Application/Script SupportReplies: 0Last Post: 17th Sep 2011, 07:17 AM
themaManager - edit and manage...
Version 4.04 released. Open older version (or...