Home > Useful commands > How to download files from filesonic.com premium with wget

How to download files from filesonic.com premium with wget

First we need to get cookie. We can use curl for that:

curl --cookie-jar cookies.txt --data "email=email%40gmail.com" --data "redirect=%2F" --data "password=supersecretpassword" http://www.filesonic.com/user/login

Now our login information is stored in cookies.txt. To use it with wget, we need to type this command:

wget -c --load-cookies cookies.txt http://www.filesonic.com/file/1134255074

If we would like to continue downloading our file we need to point wget to save file with specified name:

wget -c --load-cookies cookies.txt http://www.filesonic.com/file/1134255074 -O our.filename.rar
Categories: Useful commands
  1. dodit
    25/07/2011 at 13:49

    nice

  2. hafiz
    03/08/2011 at 19:31

    Nice info, man! Anyway, how can I download a list of link? say on a txt file?

    • 05/08/2011 at 09:18

      wget -c –load-cookies cookies.txt -i links_list.txt

  3. dodit
    04/08/2011 at 01:56

    I got only 3,3 mb/s download from filesonic to my webhosting…

  4. dodit
    08/08/2011 at 00:28

    @n4p1, thanks for the info🙂

  5. Chee Gone
    30/08/2011 at 19:44

    Since a few days ago (26/08/2011), loading cookies does work any more. This is the only way I found so far.

    wget -c –auth-no-challenge –user=user@abc.com –http-passwd=supersecuredpasswd $urlfilesonic

    I have a script read multiple filesonic files from file and save in orginal file names. If you are interested in, I will post here.

    • 31/08/2011 at 12:12

      Its still working for me.

    • 25/11/2011 at 01:15

      Any idea how to enter download passwords in filesonic (not the filesonic account password)? Some files I’ve encountered seem to require passwords to download even after logging in.

  6. 31/08/2011 at 07:59

    Yes i would be very interrested on you script, could you post it pls ghee Gone ?

  7. 31/08/2011 at 08:11

    Chee Gone :
    Since a few days ago (26/08/2011), loading cookies does work any more. This is the only way I found so far.
    wget -c –auth-no-challenge –user=user@abc.com –http-passwd=supersecuredpasswd $urlfilesonic
    I have a script read multiple filesonic files from file and save in orginal file names. If you are interested in, I will post here.

    • eluxio
      21/09/2011 at 08:10

      I’m interested. Please put the script that does what you say

  8. 17/09/2011 at 02:11

    Anyone know how to do the same with Wupload, thanks to all

  9. 15/11/2011 at 01:07

    working like charm. thank you for this tutorial

  10. celafon
    22/12/2011 at 00:09

    For chaps that are having problems.

    Make sure to run curl with -v option and check if you are getting a moved temporarily redirection to different login page. Use that page instead.

    I was getting this:

    < HTTP/1.1 302 Moved Temporarily
    < Server: nginx
    < Date: Wed, 21 Dec 2011 23:03:01 GMT
    < Content-Type: text/html
    < Transfer-Encoding: chunked
    < Location: http://www.filesonic.pl/user/login

    and used the received location instead of http://www.filesonic.com/user/login. All ok.

    PS. When you don't see a cookie file at all it means that curl did not tried to write to it as there were no cookies during the session or there were write problems (like permissions). Both issues could only be tracked by adding verbose option.

  11. rakesh
    29/05/2012 at 17:12

    how can i do same with the php script if exec() commend is not enable on the php server.??
    your answer will be appreciable..
    thanks in advance.

  12. 06/09/2012 at 04:55

    how to use curl and wget commands

    • 06/09/2012 at 04:58

      Obviously you need a linux OS. If you have windows, read this post

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: