![]() ![]() ![]() |
|
Due to the Federal Government shutdown, NOAA.gov and most associated web sites are unavailable. This site will remain accessible during the federal government shutdown. However, information on the site may not be up to date and we may not be able to respond to inquiries until appropriations are enacted.
| You are here: NODC Home > Submit Data > Submit Data Now > Using FTP > Sample FTP Session |
computer prompt> ftp www.nodc.noaa.gov Connected to ftp.nodc.noaa.gov. 220- 220- ********* WARNING ********** 220- 220- This is a U.S. Government Computer System. 220- Authorized Users only. 220- 220- Use of this system without authorization or for purposes for which 220- authorization has not been extended is a violation of federal law 220- and can be punished with fines or imprisonment (Public Law 99-474). 220- 220- ******** ********** ******** 220- 220- 220 abu FTP server (Version wu-2.4(1) Wed Apr 13 16:38:41 CDT 1994) ready. Name (www.nodc.noaa.gov:knoll): anonymous 331 Guest login ok, send your complete e-mail address as password (see example); Password: John.Smith@noaa.gov 230- 230- Welcome to www.nodc.noaa.gov, the ftp server 230- at the National Oceanographic Data Center. 230- 230-This server can compress/uncompress files on the fly using either 230-GNU zip (gzip/gunzip) or the standard UNIX compress. The gzip software 230-is available in /pub/utils. If the file ISN'T compressed (i.e., doesn't 230-end in ".gz" or ".Z"), you can compress it on its way out by just 230-appending either suffix to the filename. For instance, if the file is 230-medsfmt.dat, just use "get medsfmt.dat.gz" to get a gzip-ed version. 230-Uncompression works similarly, just leave the suffix off of the file name 230-to have it uncompressed before it is sent. PLEASE get the compressed 230-version if you can uncompress it at your site. Some of the GTSPP data 230-files are pretty big uncompressed and will take a long time to transfer 230-if uncompressed (some are 10 MBs). (this part was just a note for customers downloading data...continue reading below) 230- 230-Questions/Problems should be directed to NODC.Webmaster@noaa.gov 230- 230 Guest login ok, access restrictions apply. Remote system type is UNIX. Using binary mode to transfer files. ftp> cd pub/incoming 250 CWD command successful.Note - If I was coming from a non-unix machine, I would set the type to ascii (because I am going to submit a text file), like this:
ftp> ascii 200 Type set to A. ftp> pwd 257 "/pub/incoming" is current directory. ftp> put dan.txt 200 PORT command successful. 150 Opening ASCII mode data connection for dan.txt. 226 Transfer complete. 253760 bytes sent in 0.29 seconds (8.5e+02 Kbytes/s) ftp> ls dan.txt 200 PORT command successful. 150 Opening ASCII mode data connection for /bin/ls. -------rw- 1 ftp guest 251680 Mar 3 16:11 dan.txt 226 Transfer complete. ftp> bye 221 Goodbye.
| Last modified: Wed, 9-May-2007 13:27 UTC | NODC.Webmaster@noaa.gov | ||
|
Freedom of Information Act (FOIA)
USA.gov - The U.S. Government's Web Portal
|
|||