LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-13-2005, 06:02 AM   #1
Jestrik
Member
 
Registered: Dec 2003
Location: Hampshire, UK
Distribution: gentoo, Debian Sarge, Slack 9.1
Posts: 206

Rep: Reputation: 30
wget question


I'm not sure if this is the correct place to ask this, but I have read help on wget and googled for quite a while.

Basically, I am using wget on windows to download lots of big files off some sites. However, I would like to be able to specify where to save these files; atm it just saves them in whichever directory wget is in.

This seems like such a simple requirement that I'm sure wget has this feature, however, I have't found it anyway.

Does anyone know?

Cheers!
 
Old 04-13-2005, 06:19 AM   #2
linmith
Member
 
Registered: Oct 2004
Location: Scotland
Distribution: Ubuntu
Posts: 105

Rep: Reputation: 15
Yhave to use the command "wget -o /wherever/you/want/to/save/file.exe", although if you're using windows the path format would obviously be diferent. Basically, the "-o" part allows to specify where you want the file saved.

Robert.
 
Old 04-13-2005, 06:40 AM   #3
Jestrik
Member
 
Registered: Dec 2003
Location: Hampshire, UK
Distribution: gentoo, Debian Sarge, Slack 9.1
Posts: 206

Original Poster
Rep: Reputation: 30
Hi Robert,

I had tried that, however I think i'm doing something wrong.

It might be easier if I show what I'm trying -

"Q:\Development\Utils\wget-1.9.1b-complete>wget -O - http://fusiondm.ilansite.net/ut2004/ c:\temp\"

and it just displayed loads of text quickly, I think it was the html of the index.html

I'm confused :S
 
Old 04-13-2005, 06:49 AM   #4
linmith
Member
 
Registered: Oct 2004
Location: Scotland
Distribution: Ubuntu
Posts: 105

Rep: Reputation: 15
Okay, if that's the command you're using then it doesn't look like you actually pointing wget to a file.

"http://fusiondm.ilansite.net/ut2004/" is a directory, so you have to specify a file within that directory. For example, if you wanted to download the file "12321.utx.uz2" in that directory, you would point wget to: http://fusiondm.ilansite.net/ut2004/...hyTEX.utx.uz2, that way, you are downloading a file and not a directory.

Sorry if I've misunderstood you again...
 
Old 05-01-2005, 07:41 PM   #5
zero79
Member
 
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460

Rep: Reputation: 30
the "-P <location>" option tells wget where to place all downloaded files.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wget question kpachopoulos Linux - General 1 07-23-2005 10:00 AM
wget question Yohhan Linux - Software 1 05-05-2004 07:49 PM
wget question ziggie216 Linux - Software 1 10-12-2003 01:10 PM
wget question ziggie216 Linux - Software 0 10-12-2003 12:02 PM
wget question satimis Linux - Software 4 07-14-2003 04:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration