[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wget
Subject:    wget-1.10.2-5mdv2007.1 pwd/cd bug
From:       "Jason Mancini" <jayrusman () hotmail ! com>
Date:       2007-03-24 18:13:48
Message-ID: BAY110-F81D45E64141126812F421AB690 () phx ! gbl
[Download RAW message or body]

Hello,
If wget cannot connect to the FTP server the first time,
it fails to CD properly after checking the path with PWD.
Here is a -d listing when connecting after failing.  Thanks!
Jason

    $cmd = "wget -d --limit-rate=999k --tries=0 --no-remove-listing -N 
$ftp/*.rpm";


--11:06:12--  
ftp://ftp:*password*@carroll.aset.psu.edu/pub/linux/distributions/mandrivalinux/devel/cooker/i586/media/main/release/*.rpm
  (try: 2) => `.listing'
Found carroll.aset.psu.edu in host_name_addresses_map (0x808bf98)
Connecting to carroll.aset.psu.edu|128.118.2.96|:21... connected.
Created socket 3.
Releasing 0x0808bf98 (new refcount 1).
Logging in as ftp ...

220- snip big login message

--> USER ftp

331 Please specify the password.

--> PASS ftp@example.com

230 Login successful.
Logged in!
==> SYST ...
--> SYST

215 UNIX Type: L8
done.    ==> PWD ...
--> PWD

257 "/"
done.
==> TYPE I ...
--> TYPE I

200 Switching to Binary mode.
done.  ==> CWD not required.
conaddr is: 128.118.2.96
==> PASV ...
--> PASV

227 Entering Passive Mode (128,118,2,96,184,134)
trying to connect to 128.118.2.96 port 47238
Created socket 4.
done.    ==> LIST ...
--> LIST

150 Here comes the directory listing.
done.

    [ <=>           ] 331           --.--K/s

Closed fd 4
226 Directory send OK.
11:11:23 (412.30 KB/s) - `.listing' saved [331]

DIRECTORY; perms 700; month: Sep; day: 8; year: 2005 (no tm);
DIRECTORY; perms 700; month: Sep; day: 23; year: 2005 (no tm);
DIRECTORY; perms 755; month: May; day: 24; year: 2006 (no tm);
PLAINFILE; perms 644; month: Sep; day: 9; year: 2005 (no tm);
PLAINFILE; perms 644; month: Sep; day: 9; year: 2005 (no tm);
No matches on pattern `*.rpm'.
Closed fd 3

_________________________________________________________________
Get a FREE Web site, company branded e-mail and more from Microsoft Office 
Live! http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic