Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to download a file from

from my linux RH5 server, which doesn't have any browser.

I tried wget, but because I need to login first, I cannot download it.

How can I download the file

share|improve this question

migrated from Mar 5 '10 at 14:57

This question came from our site for professional and enthusiast programmers.

Did you try lynx? That might be installed on your server.

share|improve this answer
I am having problem with SSL support – portoalet Mar 5 '10 at 15:10
Now downloading..with lynx-2.8.4 – portoalet Mar 5 '10 at 15:48

wget --no-check-certificate --load-cookies ~/.cookies/oracle --post-data "login=USERNAME&password=PASSWORD" -O - >

I do not remember exactly the options. So some parameter might be wrong.

share|improve this answer
You should be able to get by without the "-O -" and the redirect >... wget might just give it a random name though. You also won't need the post-data if you have a valid Oracle cookie either. – Goyuix Mar 5 '10 at 18:26
If he has no cookies the --save-cookies parameter might help. – Vasyl Boroviak Mar 6 '10 at 9:17

Download it with your normal computer and use scp to copy it to your server.

share|improve this answer
file is too big to scp to my server – portoalet Mar 5 '10 at 15:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .