Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 11 of 11

This is a discussion on 3:14 out of 3:27 in the Shared & Semi-Dedicated forum
Yup. That's when mercury went down, after 3 hours and 14 minutes of a three hour and 27 minute upload (according to winscp). Anybody know ...

  1. #1
    Ron
    Ron is offline
    Loyal Client
    Join Date
    Aug 2002
    Posts
    7,306

    3:14 out of 3:27

    Yup.

    That's when mercury went down, after 3 hours and 14 minutes of a three hour and 27 minute upload (according to winscp).

    Anybody know a way to fetch a humongous file through the http protocol directly to one of our servers?

    Specifically, I am trying to get a 300MB .gz file that is only available through http onto mercury. What I did was download it to my machine via IE (which exploded the file from 300MB to 1.7GB) then I zipped it back up, and was in the process of uploading when mercury went down.

    Any way to just fetch via http through a comand line interface so I can do it at server to server speed?

    Thanks in advance...

  2. #2
    Community Leader jason's Avatar
    Join Date
    Sep 2001
    Location
    Rochester, NY
    Posts
    6,003
    The easiest way would probably be to use lynx via SSH.

    lynx http://www.whatever.com/whatever

    --Jason
    Jason Pitoniak
    Interbrite Communications
    www.interbrite.com www.kodiakskorner.com

  3. #3
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    When I do backups, I TAR my site using WinSCP. Then, I download it via DS3 at work. Finally, I save the backup file to my JumpDrive.

    http://www.mobiledriven.com/25juspusb20d.html

    Did it yesterday - 136MB - no problem!

    The curious thing is, while this connection does 7mb up/down (I've tested it), 'my' server at JagPC limits the transfers to around 240kb. Been that way for a long time...
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

  4. #4
    Ron
    Ron is offline
    Loyal Client
    Join Date
    Aug 2002
    Posts
    7,306
    Originally posted by jason
    The easiest way would probably be to use lynx via SSH.

    lynx http://www.whatever.com/whatever

    --Jason
    Looks like exactly what I was looking for, Jason, but it complains...
    Configuration file (null) is not available.
    Any idea where to point me for a config file, or what should be in it?
    Thanks again

  5. #5
    Community Leader jason's Avatar
    Join Date
    Sep 2001
    Location
    Rochester, NY
    Posts
    6,003
    A less interactive mehod is to use curl to save the file instead of lynx. With curl, however, you'll need to specify the exact URL of the file you're downloading. Use -o to direct output to a file instead of dumping it to the STDOUT.

    Code:
    curl http://whatever.com/whatever -o /home/ron's-site/whatever
    Good luck.

    --Jason
    Jason Pitoniak
    Interbrite Communications
    www.interbrite.com www.kodiakskorner.com

  6. #6
    Ron
    Ron is offline
    Loyal Client
    Join Date
    Aug 2002
    Posts
    7,306
    It took 8:51 using curl.... that's 8 minutes and 51 seconds.

    Ran an average of 545K/second
    (My download runs about 200-250K but my upload was ~25K)

    You the man, Jason!
    Saved me hours. Thanks!

  7. #7
    || $name ne 'R.Stiltskin'
    Join Date
    Jun 2003
    Location
    Tejas
    Posts
    2,438
    Originally posted by jason
    A less interactive mehod is to use curl to save the file instead of lynx...
    I haven't needed to use curl before but I'll have to store this tidbit of knowledge into my mental archive. Seems like one powerful, little utility.

  8. #8
    Jag Veteran
    Join Date
    Sep 2002
    Posts
    650
    An easier alternative to curl would be wget
    Although not as powerfull as curl, it can handle file download just fine and doesn't require any parameters beside URL.

  9. #9
    || $name ne 'R.Stiltskin'
    Join Date
    Jun 2003
    Location
    Tejas
    Posts
    2,438
    Originally posted by gerilya
    An easier alternative to curl would be wget
    Yes, I like wget too. But easier alternative? Who's looking for that? Remember, I use Perl.

  10. #10
    Community Leader jason's Avatar
    Join Date
    Sep 2001
    Location
    Rochester, NY
    Posts
    6,003
    Originally posted by gerilya
    An easier alternative to curl would be wget
    Although not as powerfull as curl, it can handle file download just fine and doesn't require any parameters beside URL.
    Yes, I forgot about wget.

    For those of you interested in more about curl, check out http://curl.haxx.se/

    --Jason
    Jason Pitoniak
    Interbrite Communications
    www.interbrite.com www.kodiakskorner.com

  11. #11
    Jag Veteran
    Join Date
    Sep 2002
    Posts
    650
    Originally posted by Spathiphyllum
    Yes, I like wget too. But easier alternative? Who's looking for that? Remember, I use Perl.
    Here is something for you then:
    Code:
    use LWP::UserAgent;

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •