i need filesonic php upload code

Status
Not open for further replies.
26 comments
I can give you the php filesonic upload code at only $20 (my regular price for login + upload + link retreval for any filehost/image host).

Lemme know via PM if interested.
 
this is me quickly scrapping something up;

<?php
system("curl -T UPLOADTHIS.avi -u user:passwd ftp.filesonic.com");
?>

replace user:passwd with user/pass you find here: http://filesonic.com/ftp

I don't know if ftp.filesonic.com is current path, I've never tried with filesonic, I've done it with fileserve before...
 
once file is uploaded via ftp, it will be moved to to your file manager and will be deleted from ftp folder.
but the problem stills in link retrieval :\
 
Use php to login to filesonic (using curl again) then 'get between' the div tags that contain the latest filename submitted, then get the link.

I would do this for £8 :P (I don't want to do it free cz it's not as easy as the code i posted before)

if interested pm
 
Last edited:
WILL THIS HELP

Code:
$ch = curl_init(); 
     $data['redirect'] = '/file/15033437/%E6%8C%81%E6%9C%88%E7%9C%9F%E7%94%B1~16%E5%B2%81%E5%87%8C%E8%BE%B1%E6%8F%B4%E4%BA%A4.rar';  
     $data['links'] = "http://www.filesonic.com/file/urfilename_itleech.com.rar\n"; 
     $data['controls[submit]'] = ""; 
    curl_setopt($ch, CURLOPT_URL, 'http://www.filesonic.com/link-checker'); 
    curl_setopt($ch, CURLOPT_REFERER, 'http://www.filesonic.com/link-checker'); 
    curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/4.73 [en] (X11; U; Linux 2.2.15 i686)'); 
    curl_setopt($ch, CURLOPT_HTTPHEADER,array("Expect:")); 
    curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 8); 
    curl_setopt($ch, CURLOPT_TIMEOUT, 8); 
    curl_setopt($ch, CURLOPT_HEADER, true); 
    curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); 
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); 
    curl_setopt($ch, CURLOPT_POST, 1); 
    curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data)); 
    $page = curl_exec($ch); 
    print  $page ;   
    curl_close($ch);
 
Status
Not open for further replies.
Back
Top