Activity Stream
48,167 MEMBERS
61303 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24
  1.     
    #11
    Respected Developer
    Website's:
    X4B.org
    hey has anyone actually written a web/http upload for this host? Im currently using FTP however web support would be nice.

  2.   Sponsored Links

  3.     
    #12
    Respected Developer
    Quote Originally Posted by SplitIce View Post
    hey has anyone actually written a web/http upload for this host? Im currently using FTP however web support would be nice.
    feeling lazy SplitIce?
    here you go, just wrote now for you guys
    PHP Code: 
    <?php
    /**
     * written by mRAza
     * 11-09-2011
     *
     *
     * Usage:     $link = upFilepost($user,$password,$cookie,$file);
     **/
    function upFilepost($user,$password,$cookie,$file){
            
    $agent "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4)Gecko/20030624 Netscape/7.1 (ax)";
            
            
    $post 'email='.$user.'&password='.$password;
            
    $ch curl_init();
            
    curl_setopt($chCURLOPT_URL"http://filepost.com/general/login_form/");
            
    curl_setopt($chCURLOPT_USERAGENT$agent);
            
    curl_setopt($chCURLOPT_POST1);
            
    curl_setopt($chCURLOPT_POSTFIELDS,$post);
            
    curl_setopt($chCURLOPT_RETURNTRANSFER1);
            
    curl_setopt($chCURLOPT_FOLLOWLOCATION0);
            
    curl_setopt($chCURLOPT_HEADER1);
            
    curl_setopt($chCURLOPT_REFERER"http://filepost.com/");
            
    curl_setopt($chCURLOPT_COOKIEFILE$cookie);
            
    curl_setopt($chCURLOPT_COOKIEJAR$cookie);
            
    $result curl_exec($ch);
            
            
    $ch curl_init();
            
    curl_setopt($chCURLOPT_URL"http://filepost.com/files/upload/");
            
    curl_setopt($chCURLOPT_USERAGENT$agent);
            
    curl_setopt($chCURLOPT_RETURNTRANSFER1);
            
    curl_setopt($chCURLOPT_FOLLOWLOCATION0);
            
    curl_setopt($chCURLOPT_HEADER1);
            
    curl_setopt($chCURLOPT_REFERER"http://filepost.com/");
            
    curl_setopt($chCURLOPT_COOKIEFILE$cookie);
            
    curl_setopt($chCURLOPT_COOKIEJAR$cookie);
            
    $result curl_exec($ch);

            
    preg_match("#upload_url: '(.*)'#",$result,$upURL);
            
    $upURL =  $upURL[1];
            
    preg_match("#SID: '(.*)'#",$result,$SID);
            
    $SID $SID[1];
                  

            
    $post = array();
            
    $post['file']="@$file";
            
    $post['SID']=$SID;
            
    $post['Filename']= basename($file);
            
    $post['Upload']="Submit Query";

            
    $ch curl_init();
            
    curl_setopt($chCURLOPT_URL$upURL);
            
    curl_setopt($chCURLOPT_USERAGENT'Shockwave Flash');
            
    curl_setopt($chCURLOPT_POST1);
            
    curl_setopt($chCURLOPT_POSTFIELDS,$post);
            
    curl_setopt($chCURLOPT_RETURNTRANSFER1);
            
    curl_setopt($chCURLOPT_FOLLOWLOCATION0);
            
    curl_setopt($chCURLOPT_HEADER1);
            
    curl_setopt($chCURLOPT_COOKIEFILE$cookie);
            
    curl_setopt($chCURLOPT_COOKIEJAR$cookie);
            
    $result curl_exec($ch);

            
    preg_match("#answer\":\"(.*)\"#",$result,$answer);
            
    $answer $answer[1];
            if (
    $answer ){
            
                
    $url 'http://filepost.com/files/done/'.$answer.'/?JsHttpRequest';

                
    $ch curl_init();
                
    curl_setopt($chCURLOPT_URL$url);
                
    curl_setopt($chCURLOPT_USERAGENT$agent);
                
    curl_setopt($chCURLOPT_RETURNTRANSFER1);
                
    curl_setopt($chCURLOPT_FOLLOWLOCATION0);
                
    curl_setopt($chCURLOPT_HEADER1);
                
    curl_setopt($chCURLOPT_REFERER"http://filepost.com/");
                
    curl_setopt($chCURLOPT_COOKIEFILE$cookie);
                
    curl_setopt($chCURLOPT_COOKIEJAR$cookie);
                
    $result curl_exec($ch);
                
    curl_close($ch);

                
    preg_match("#id=\"down_link\" class=\"inp_text\" value=\"(.*)\"#",$result,$link);
                if(
    $link) {
                    return 
    $link[1];

            }

            }
            
            return 
    false;
            
    }        


    ?>
    Bots Development | Web Development | Wordpress Customization | PSD Conversion

    Life has many twists and turns in it, you have to take what you are given and use it for the best.

  4.     
    #13
    Member
    Wow mRaza are you awesome!!! Thank you!

  5.     
    #14
    Member
    mRAza awesome script

  6.     
    #15
    Respected Developer
    Website's:
    X4B.org
    @mRAza: Yes entirely the reason. That and my first attempt didnt work.


    I see why now "$post['Filename']= basename($file);"


    Thanks.

  7.     
    #16
    Member
    Website's:
    sibsoft.net
    Good job, mRAza. As per our experience, filepost is using chunked upload. It's works fine in php (as mRAza demonstrated), but there's some problems with other languages (for example, in Perl you have to patch LWP). They also have quite interesting FTP upload.

  8.     
    #17
    Member
    mRAza script does not work anymore

  9.     
    #18
    Respected Developer
    Quote Originally Posted by tom_riddle View Post
    mRAza script does not work anymore
    I just tested and it is still working. did u test it before it was working for you?
    Bots Development | Web Development | Wordpress Customization | PSD Conversion

    Life has many twists and turns in it, you have to take what you are given and use it for the best.

  10.     
    #19
    Member
    Thanks mRAza, just looking this script

  11.     
    #20
    Member
    This site is using a hacked database of W junction
    Last edited by Gavo; 4th Jan 2015 at 02:36 PM.

Page 2 of 3 FirstFirst 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Help] PHP Curl Uploader to RapidShare Problem
    By heppinnz in forum Web Development Area
    Replies: 2
    Last Post: 29th Nov 2011, 06:28 AM
  2. PHP CURL LulzImg Uploader
    By heppinnz in forum Web Development Area
    Replies: 2
    Last Post: 2nd Sep 2011, 03:43 PM
  3. Catalyst Uploader v1.0. ONE CLICK FULL FEATURED UPLOADER
    By becoolufull in forum File Host Discussion
    Replies: 1
    Last Post: 27th Oct 2010, 02:16 PM
  4. [Hiring] Paid Uploader - MagikalMusic.com - Uploader for Music Albums
    By Young Star-G in forum Completed Transactions
    Replies: 10
    Last Post: 18th Oct 2010, 07:43 PM
  5. fileserver error uploader file & image uploader
    By logitec100 in forum Webmaster Resources
    Replies: 0
    Last Post: 16th Sep 2010, 10:05 PM

Tags for this Thread

BE SOCIAL