Hi, I ran into an issue using wget and hope you can help me. I am trying to retrieve a “.csv” file on a unix
system using wget (ftp mode).I When I retrieve a file using normal FTP and specify ASCII mode,
I successfully get the file and there are no “ ^ M “ at the end of
line in this file. But when I use wget all the lines in the file have this “
^M “ at the end. I used the “type=A” but doesn’t seem to
help. Any advice on how to use wget and retrieve the file in ASCII
will be appreciated. Thanks in advance, Kiran --06:47:07-- ftp://xxxxxxl:[EMAIL PROTECTED]/
cd/*.csv;type=A
=> `.listing' Connecting to xxx.xxx.xxx.xxx... connected. Logging in as xxxxx ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE A ... done. ==> CWD /cd ... done. ==> PORT ... done. ==> LIST ...
done. [
<=>
]
10,209 18.43K/s 06:47:10 (18.43 KB/s) - `.listing' saved [10209] Removed `.listing'. --06:47:10-- ftp ftp://xxxxxxl:[EMAIL PROTECTED]/
cd/*.csv;type=A
=> `123456789.csv' ==> CWD not required. ==> PORT ... done. ==> RETR 123456789.csv
... done. Length: 2,294 |
- Re: wget and ASCII mode Kiran Atlluri
- Re: wget and ASCII mode Steven M. Schweda
- RE: wget and ASCII mode Kiran Atlluri
- Re: wget and ASCII mode Steven M. Schweda
- Re: wget and ASCII mode Hrvoje Niksic
- Re: wget and ASCII mode Steven M. Schweda
- Re: wget and ASCII mode Hrvoje Niksic
- Re: wget and ASCII mode Steven M. Schweda