downloading ftp file

I'm trying to download a file fromftp://ftp.ngdc.noaa.gov/STP/SOLAR_DATA/SOLAR_IRRADIANCE/COMPOSITE.v2.FMT from my mac in safari but I get a broken message. Does this file exist? How would I do this in my terminal window if I can't from my browser?
libertyforall2Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

omarfaridCommented:
from terminal you can run

ftp ftp.ngdc.noaa.gov
ftp> bin
ftp> get /STP/SOLAR_DATA/SOLAR_IRRADIANCE/COMPOSITE.v2.FMT
ftp> bye

you may need to provide username and password

if you have wget on your system you may also do

wget --user=username --password=mypassword ftp://ftp.ngdc.noaa.gov/STP/SOLAR_DATA/SOLAR_IRRADIANCE/COMPOSITE.v2.FMT
libertyforall2Author Commented:
ftp: Can't lookup `/STP/SOLAR_DATA/SOLAR_IRRADIANCE/COMPOSITE.v2.FMT': nodename nor servname provided, or not known
libertyforall2Author Commented:
royhuff:~ royhuff$ ftp ftp.ngdc.noaa.gov
Connected to vertex.ngdc.noaa.gov.
500 OOPS: setuid
ftp> ls
Not connected.
ftp>
SolarWinds® IP Control Bundle (IPCB)

Combines SolarWinds IP Address Manager and User Device Tracker to help detect IP conflicts, quickly identify affected systems, and help your team take near instantaneous action. Help improve visibility and enhance reliability with SolarWinds IP Control Bundle.

omarfaridCommented:
you need to provide username and password

try to run

ftp> user yourusername

then provide password
micropc1Commented:
It ought to prompt for a userid and password... as the others have stated you should be able to do this...

: ftp ftp.ngdc.noaa.gov
enter userid and password
cd /STP/SOLAR_DATA/SOLAR_IRRADIANCE
get COMPOSITE.v2.FMT

Open in new window

David Johnson, CD, MVPOwnerCommented:
ftp username is anonymous
password is your email address i.e.

then  you have to cd to the directory you want or
get \directory1\directory2\fileyouwant.flt

Contents of that file

================================================================================
Data format for the COMPOSITE_d15.PLT

  COL   FMT    DESCRIPTION
--------------------------------------------------------------------------------
 1- 4   I4     Year
 5- 6   I2     Month
 7- 8   I2     Day
 9-10   2X     Blank
11-18   F8.3   Total Solar Irradiance (TSI)

CREATED: Nov 19 1999
VERSION: 15
NOTE:    A plot of the composite is shown on the homepage of PMOD/WRC: 
         http://www.pmodwrc.ch/
--------------------------------------------------------------------------------
The description of the composite can be found in:
C.Fr\"ohlich and Judith Lean, 1998, "Total Solar Irradiance Variations",
in: F.L.Deubner et al., Eds., "New Eyes to see inside the Sun and Stars", 
Proceedings IAU Symposium 185, Kyoto, August 1997, Kluwer Academic Publ., 
Dordrecht, The Netherlands, pp. 89-102.
C.Fr\"ohlich and Judith Lean, 1998, "The Suns Total Irradiance: Cycles, 
Trends and Related Climate Change Uncertainties since 1978", 
Geophys.Res.Let., 25, pp.  4377-4380.
This dataset is freely available with one restriction:
If you use the data or some product based on the data in a published 
paper refer to one of the above publications and acknowlege receipt of the 
dataset (mention version used) from PMOD/WRC, Davos, Switzerland,
and acknowledge unpublished data from the VIRGO Team.

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
libertyforall2Author Commented:
works
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Shell Scripting

From novice to tech pro — start learning today.