Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 03-27-2004, 12:57 PM   #1
LQ Newbie
Registered: Mar 2004
Distribution: SuSE 9.0
Posts: 14

Rep: Reputation: 0
wget & Slack patches

I have just installed Slackware 9.1 and I'm trying to download the latest security patches. I tried to used the following command to download all the *.tgz files in the directory.


Then I get the following output and error message.

=> `.listing'
Resolving done.
Connecting to[]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/slackware/slackware-9.1/patches/packages ... done.
==> PORT ... done. ==> LIST ...
Error in server response, closing control connection.

Is there something I'm doing wrong? Any suggestions on a better a better way?

Any help would be appreciated.

Last edited by revenant; 03-27-2004 at 12:58 PM.
Old 03-27-2004, 01:09 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,147

Rep: Reputation: 229Reputation: 229Reputation: 229
You can't use * in the address field.

man wget for more options of getting all files out of a directory, etc.
Old 08-30-2004, 01:53 PM   #3
LQ Newbie
Registered: Nov 2003
Location: Silicon Valley
Posts: 10

Rep: Reputation: 0
.. sure it supports wild cards. Take this excerpt directly from the manpage:

-g on/off

Turn FTP globbing on or off. Globbing means you may use the shell-like special characters (wildcards), like *, ?, [ and ] to retrieve more than one file from the same directory at once, like:


By default, globbing will be turned on if the URL contains a globbing character. This option may be used to turn globbing on or off permanently.

You may have to quote the URL to protect it from being expanded by your shell. Globbing makes Wget look for a directory listing, which is system-specific. This is why it currently works only with Unix FTP servers (and the ones emulating Unix ls output).
You might want to try --glob=on to explicitly enable it and also try quoting the path as suggested to ensure that your shell isn't expanding the wildcard before it gets to wget.

I realized this is a significantly late response, but it never hurts to set things straight. I found this post on a search because I'm getting the same error message but from a different cause.

Last edited by skelly; 08-30-2004 at 01:54 PM.


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
about patches in slack 10 alixx Slackware 3 08-26-2005 12:10 AM
How to Update Slack Patches? Lucinda Slackware 6 05-15-2005 09:44 AM
Bugfixes & vulnerability patches thorn168 Conectiva 2 05-05-2005 04:40 PM
keep slack 10 updated with wget? mipia Slackware 8 10-13-2004 06:01 PM
wget & --exclude-directories Tinkster Slackware 4 07-20-2003 11:02 PM

All times are GMT -5. The time now is 02:01 PM.

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