• How to download files in bulk from rapidgator using PHP

    HeatherKort Member

    how to download files from rapidgator using php and save them in my server directly. I own premium account

  • Amit Member

    I am not sure how rapidgator premium works, but if it automatically starts the download as soon as you open the url then you should be able to use cURL or fopen, doing a quick search this should help you get started:

    http://4rapiddev.com/php/download-image-or-file-from-url/

  • SapnaVishwas Member

    Check out RapidLeech.
    If they’ve improved their code at all, you may be able to use some sort of API.

    OR

    You can use curl, but you also need to pass the cookies with a valid login session.
    So first, use curl to login and save the cookie to a file. Next, use curl and pass that cookie along while requesting the download link.

    I use this with my own upload/download script and it works pretty simply.

  • ShikhaTan Member

    curl is very simple:

    Login
    

    as you can see from the source code, rapidgator uses :

    POST

    and sends the vars :
    LoginForm[email]
    LoginForm[password]
    

    to :
    https://rapidgator.net/auth/login

    with that information it should be pretty simple for anyone to make a small wee script that takes the text entered into a textbox and pass it to RG , once done, keep the session and request a download using wget or fread or something similar
    Moderated Message:

Viewing 3 reply threads
  • You must be logged in to reply to this topic.