Find the answer to your Linux question:
Results 1 to 4 of 4
Hi. I need to download a html file via telnet. I tried "telnet [server] 80" and than wrote a "get" command. but the output goes to console. I need the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2009
    Posts
    5

    [SOLVED] Using telnet to download file


    Hi.

    I need to download a html file via telnet.

    I tried "telnet [server] 80" and than wrote a "get" command.
    but the output goes to console. I need the output in a file.

    How can I do this?

    Thanks

  2. #2
    Just Joined! ManishSinha's Avatar
    Join Date
    Dec 2007
    Location
    Manipal,India
    Posts
    28
    Can't you get it via ftp?

    If you can connect to port 80 assuming it runs a HTTP server, then why not try accessing it via a browser?

  3. #3
    Just Joined!
    Join Date
    Feb 2009
    Location
    USA
    Posts
    21
    Code:
    telnet google.com 80 > index.html
    just issue your GET request.

  4. #4
    Just Joined!
    Join Date
    Mar 2009
    Posts
    5
    Hi.
    Thanks for replying.

    Code:
    telnet google.com 80 > index.html
    .

    This works! Strange, I thought I tried this before!
    But thanks.

    @ManishSinha:
    Unfotunately not. The task is explicit.
    I just spend hours to figure out how to do that, but it was for nothing!



    Thanks

Posting Permissions

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