[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: wget question



What version of wget are you using?
Are you actually in the directory that is writable by the user?

Mine is 1.5.3 and it works. See output below:
[13:32|pts/3]shao@shao % wget -r -np
ftp://ftp.us.kde.org:21/pub/kde/stable/latest/distribution/deb/potato/i386/
--13:34:26--
ftp://ftp.us.kde.org:21/pub/kde/stable/latest/distribution/deb/potato/i386/
           =>
`ftp.us.kde.org/pub/kde/stable/latest/distribution/deb/potato/i386/.listing'
Connecting to ftp.us.kde.org:21... connected!
Logging in as anonymous ... Logged in!
==> TYPE I ... done.  ==> CWD
pub/kde/stable/latest/distribution/deb/potato/i386 ... done.
==> PORT ... done.    ==> LIST ... done.

    0K -> .

13:34:36 (4.51 KB/s) -
`ftp.us.kde.org/pub/kde/stable/latest/distribution/deb/potato/i386/.listing'
saved [1844]

Removed
`ftp.us.kde.org/pub/kde/stable/latest/distribution/deb/potato/i386/.listing'.
--13:34:36--
ftp://ftp.us.kde.org:21/pub/kde/stable/latest/distribution/deb/potato/i386/Packages.gz
           =>
`ftp.us.kde.org/pub/kde/stable/latest/distribution/deb/potato/i386/Packages.gz'
==> CWD not required.
==> PORT ... done.    ==> RETR Packages.gz ... done.
Length: 3,854

    0K -> ...                                                    [100%]

13:34:41 (928.00 B/s) -
`ftp.us.kde.org/pub/kde/stable/latest/distribution/deb/potato/i386/Packages.gz'
saved [3854]

--13:34:41--
ftp://ftp.us.kde.org:21/pub/kde/stable/latest/distribution/deb/potato/i386/kdeadmin_1.1.2-19990906-1_i386.deb
           =>
`ftp.us.kde.org/pub/kde/stable/latest/distribution/deb/potato/i386/kdeadmin_1.1.2-19990906-1_i386.deb'
==> CWD not required.
==> PORT ... done.    ==> RETR kdeadmin_1.1.2-19990906-1_i386.deb ...
done.

Antonio Rodriguez [arodriguez@worldnet.att.net] wrote:
> I just tried, didn't work. Next is the output:
> 
> bash-2.01$ wget -r -np > ftp://ftp.us.kde.org/pub/kde/stable/latest/distribution/deb/potato/i386/
> --20:17:23--  ftp://ftp.us.kde.org:21/pub/kde/stable/latest/distribution/deb/potato/i386/
>            => `ftp.us.kde.org/pub/kde/stable/latest/distribution/deb/potato/i386/.listing'
> 
> Connecting to ftp.us.kde.org:21... connected!
> Logging in as anonymous ... Logged in!
> ==> TYPE I ... done.  ==> CWD pub/kde/stable/latest/distribution/deb/potato/i386 ... done.
> 
> ==> PORT ... done.    ==> LIST ... done.
> ftp.us.kde.org/pub/kde/stable/latest/distribution/deb/potato/i386: Permission
> deniedftp.us.kde.org/pub/kde/stable/latest/distribution/deb/potato/i386/.listing: No such
> file or directory
> unlink: No such file or directory
> --20:17:25--  ftp://ftp.us.kde.org:21/pub/kde/stable/latest/distribution/deb/potato/i386/
>            =>
> `ftp.us.kde.org/pub/kde/stable/latest/distribution/deb/potato/i386/index.html'
> Connecting to ftp.us.kde.org:21... connected!
> Logging in as anonymous ... Logged in!
> ==> TYPE I ... done.  ==> CWD pub/kde/stable/latest/distribution/deb/potato/i386 ... done.
> 
> ==> PORT ... done.    ==> RETR  ...
> No such file `'.
> 
> 
> FINISHED --20:17:27--
> Downloaded: 0 bytes in 0 files
> bash-2.01$
> 
> Shao Zhang wrote:
> 
> > You cannot use wildcard in wget. Instead, you should say something like:
> >
> > wget -r -np ftp://ftp.twoguys.org:21/pub/kde/stable/latest/distribution/deb/potato/i386
> >
> > Shao.
> >
> > Antonio Rodriguez [arodriguez@worldnet.att.net] wrote:
> > > What is wrong with the following? Pasted next the output
> > >
> > > bash-2.01$ wget
> > > ftp://ftp.twoguys.org/pub/kde/stable/latest/distribution/deb/potato/i386/*
> > >
> > > --19:41:38--
> > > ftp://ftp.twoguys.org:21/pub/kde/stable/latest/distribution/deb/potato/i386/*
> > >
> > >            => `.listing'
> > > Connecting to ftp.twoguys.org:21... connected!
> > > Logging in as anonymous ... Logged in!
> > > ==> TYPE I ... done.  ==> CWD
> > > pub/kde/stable/latest/distribution/deb/potato/i386 ... done.
> > > ==> PORT ... done.    ==> LIST ... done.
> > > .listing: Permission denied
> > > unlink: Permission denied
> > > No matches on pattern `*'.
> > > bash-2.01$
> > > Thanks
> > > Antonio.
> > >
> > >
> > > --
> > > Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> > >
> > >
> >
> > --
> > ____________________________________________________________________________
> > Shao Zhang - Running Debian 2.1  ___ _               _____
> > Department of Communications    / __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _
> > University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
> > Sydney, Australia               |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
> > Email: shao@cia.com.au                                                  |___/
> > _____________________________________________________________________________
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 
> 

-- 
____________________________________________________________________________
Shao Zhang - Running Debian 2.1  ___ _               _____
Department of Communications    / __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
Sydney, Australia               |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: shao@cia.com.au                                                  |___/ 
_____________________________________________________________________________


Reply to: