Results 1 to 10 of 10
-
23rd Dec 2011, 12:33 PM #1OPMember
Filesonic URL Error - Webupload / API ( RL , Sborg....)
Hey guys ,
Since Filesonic changed their theme & the file urls , been having loads of problems .
I guess everyone using Sborg , Rapidleech etc.. are experiencing same thing
Test :
Upload a small file via web upload : http://screensnapr.com/e/FuAp3I.png
Now check the link generated : http://www.filesonic.com/file/4348986665
Getting same Link when uploading via api
Practically every user is complaining about the new theme etc... Let's hope they revert back or atleast fix the bugs on the current one
viruz99 Reviewed by viruz99 on . Filesonic URL Error - Webupload / API ( RL , Sborg....) Hey guys , Since Filesonic changed their theme & the file urls , been having loads of problems . I guess everyone using Sborg , Rapidleech etc.. are experiencing same thing Test : Upload a small file via web upload : http://screensnapr.com/e/FuAp3I.png Rating: 5
-
23rd Dec 2011, 12:34 PM #2MemberWebsite's:
wscripts.net damnlolscript.com lulzjet.comsame here ... also no file in my account
-
23rd Dec 2011, 12:36 PM #3Retired NinJaWebsite's:
loledhard.comupload via api, search ur fileuploader for the file name u uploaded & grab the link
You don't hate Justin bieber.You hate the fact you ain't Justin Bieber!
-
23rd Dec 2011, 12:38 PM #4OPMember
Won't that take too much time if there are 50k files in the account >?
-
23rd Dec 2011, 12:41 PM #5Retired NinJaWebsite's:
loledhard.comit would ofc... but u dont have any other way out right now
as the problem lies with api...api is sending those old number which are not being used right now. When FSc updates thr code to display the new link format.... all the codes of sborg, rl, etc would start working
EDIT:
oh wait a sec if u are ok with 2 more seconds delay u can even move the file into another folder so the file doesnt get queued up in filemanager.
Ps... first shift all the current files in root to some other folder
You don't hate Justin bieber.You hate the fact you ain't Justin Bieber!
-
23rd Dec 2011, 12:47 PM #6OPMember
Lets's hope they update the api soon & if possible to provide an option to choose the old theme
-
23rd Dec 2011, 12:53 PM #7Member
Are they even going to fix the link to the newly uploaded files? Or do we have to manually go into file manager and grab the link one by one...?
-
23rd Dec 2011, 12:56 PM #8It begins...
They've changed their url structure to be mostly alpha numeric. Was previously numeric only. This causes issues, as their internal referencing is still numeric.
-
23rd Dec 2011, 12:57 PM #9Member
for idm
i use safelinking.net and copy the Direct links
-
23rd Dec 2011, 02:42 PM #10Retired NinJaWebsite's:
loledhard.comworkaround until api problem is sorted out...
PHP Code://To get the link
echo uploadfsc(getcwd()."/x.txt",'manohar_pandey@yahoo.co.in','Random');
//function code
function uploadfsc($x,$email,$pass){
$var = curl('http://api.filesonic.com/upload?method=getUploadUrl&u='.$email.'&p='.$pass,'');
preg_match('/"http:(.*?)"/',$var,$match);
$url = trim(stripslashes($match[0]),'"');
$post = array('files[]' => "@$x");
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, trim($url));
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$result = curl_exec($ch);
$result = curl("http://www.filesonic.com/user/login",array('email'=>$email,'password'=>$pass,'redirect'=>'/','rememberMe'=>'1','controls[submit]'=>'submit'), "", true);
preg_match_all("/Set-Cookie: (.*?) /",$result,$matches);
$cookie="";
for($i=count($matches[1])-1;$i>=0;$i--)
{
$match = $matches[1][$i];
$cookie_var = str_ireplace(strrchr($match,'='),"",$match);
if (stripos($cookie,$cookie_var)===false)
$cookie.=$match;
}
$result = curl("http://www.filesonic.com/filesystem/browse/D0/1",array('queryString'=>basename($x)),$cookie.'fs_orderFoldersBy=date;fs_orderFoldersDirection=desc;');
preg_match('/<input type="checkbox" (.*?) rel="(.*?)"(.*?)\s*(.*?)"'.basename($x).'">/i',$result,$match);
if($match[2]!="")
return "http://www.filesonic.com/file/".$match[2];
else
return "";
}
function curl($url, $postdata, $cookie = "", $header = false)
{
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
if($header == true)
curl_setopt($ch, CURLOPT_HEADER, 1);
if($cookie != "")
{
curl_setopt($ch, CURLOPT_COOKIESESSION, 1);
curl_setopt($ch, CURLOPT_COOKIE, $cookie);
}
if($postdata != "")
{
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $postdata);
}
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
curl_setopt($ch, CURLOPT_TIMEOUT, 1200);
$source_code = curl_exec($ch);
curl_close($ch);
return $source_code;
}
You don't hate Justin bieber.You hate the fact you ain't Justin Bieber!
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
sborg error
By vincentfkc in forum File Host DiscussionReplies: 0Last Post: 13th Dec 2011, 04:22 AM -
How to install sborg or other script on new VPS without getting apache error?
By desibreaker in forum Tutorials and GuidesReplies: 4Last Post: 9th Jul 2011, 01:40 PM -
Sborg Torrent Error
By aggiefury101 in forum Technical Help Desk SupportReplies: 8Last Post: 23rd Jun 2011, 09:59 PM -
Sborg Parse Error
By aggiefury101 in forum Technical Help Desk SupportReplies: 13Last Post: 4th Jun 2011, 08:26 PM -
FileSonic <==> SBorg
By KonnectPlus in forum Technical Help Desk SupportReplies: 14Last Post: 18th Jan 2011, 06:10 PM
themaManager - edit and manage...
Version 4.18 released. Open older version (or...