I'm not sure what part of the debug log is relevant, so here's the
whole thing. Thank you.
wget -d ftp://hostname.harvard.edu/CURRENT.URLS2.TXT;type=a
DEBUG output created by Wget 1.6 on linux-gnu.
parseurl ("ftp://hostname.harvard.edu/CURRENT.URLS2.TXT") -> host
hostname.harvard.edu -> opath CURRENT.URLS2.TXT -> dir -> file
CURRENT.URLS2.TXT -> ndir
newpath: /CURRENT.URLS2.TXT
--09:32:01-- ftp://hostname.harvard.edu/CURRENT.URLS2.TXT
=> `CURRENT.URLS2.TXT'
wget: Cannot read /users/maureen/.netrc (Permission denied).
Connecting to hostname.harvard.edu:21... Created fd 3.
connected!
Logging in as anonymous ... 220-FTPD1 IBM FTP CS/390 V2R5 at HOSTNAME,
09:31:20 on 2001-06-18.
220 Connection will close if idle for more than 120 minutes.
--> USER anonymous
230 'ANONYMOUS' logged on. Working directory is "ANONYMO.".
Logged in!
==> TYPE I ...
--> TYPE I
200 Representation type is Image
done. ==> CWD not needed.
==> PORT ... Master socket fd 4 bound.
--> PORT 128,103,151,249,136,1
200 Port request OK.
done. ==> RETR CURRENT.URLS2.TXT ...
--> RETR CURRENT.URLS2.TXT
125 Sending data set ANONYMO.CURRENT.URLS2.TXT
done.
Created socket fd 5.
0K -> .....
Closing fd 5
Closing fd 4
250 Transfer completed successfully.
Closing fd 3
09:32:06 (143.19 KB/s) - `CURRENT.URLS2.TXT' saved [5425]
type=a: Command not found.
>Kathryn C/Maureen O <[EMAIL PROTECTED]> writes:
>
> > I recently downloaded and compiled wget 1.6. I've successfully
> > retrieved documents using the http protocol, but I cannot ftp a file in
> > ascii mode.
> > I read the documentation and found that, "wget also supports the
> > 'type' feature for FTP URLs" and provides the example:
> > ftp://host/directory/file;type=a
> > But this returns the file in binary mode. If I leave off the
> > type=a, the file is retrieved in binary format also.
> > Has anyone had this problem?
>
>Can you post a debug log? Also, how exactly do you determine that the
>file was retrieved in binary format?