• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 572
  • Last Modified:

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?
0
libertyforall2
Asked:
libertyforall2
6 Solutions
 
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
0
 
libertyforall2Author Commented:
ftp: Can't lookup `/STP/SOLAR_DATA/SOLAR_IRRADIANCE/COMPOSITE.v2.FMT': nodename nor servname provided, or not known
0
 
libertyforall2Author Commented:
royhuff:~ royhuff$ ftp ftp.ngdc.noaa.gov
Connected to vertex.ngdc.noaa.gov.
500 OOPS: setuid
ftp> ls
Not connected.
ftp>
0
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 
omarfaridCommented:
you need to provide username and password

try to run

ftp> user yourusername

then provide password
0
 
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

0
 
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

0
 
libertyforall2Author Commented:
works
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now