FTPMAIL help file ***************** * WARNING * * This is a United States Government Computer. Use of * this computer for purposes for which authorization * has not been extended is a violation of federal law. * * (Reference Public Law 99-474) * For Help contact: * * marine.weather@noaa.gov 301-713-1677 x 128 * ***************** **** IMPORTANT NOTICES **** Effective January 08, 2008, the address of the FTPMAIL service changed from ftpmail@weather.noaa.gov to ftpmail@ftpmail.nws.noaa.gov. If you restrict incoming e-mail as a means of preventing spam, you must configure your e-mail system to allow mail from ftpmail@ftpmail.nws.noaa.gov Read the help file carefully - 99% of errors using FTPMAIL are simple typo's, incorrect capitalization, failure to send in plain text format, leading or trailing spaces, or failure to set up any spam filters properly. These instructions are subject to revision....download frequently. ********** **** NEW USERS....Read these notes Carefully ***** CAUTION - READ THIS HELP FILE CAREFULLY - 99% OF ERRORS USING FTPMAIL ARE SIMPLE TYPO'S, INCORRECT CAPITALIZATION, FAILURE TO SEND IN PLAIN TEXT FORMAT, LEADING OR TRAILING SPACES, OR FAILURE TO SET UP ANY SPAM FILTERS PROPERLY. FOLLOW THE EXAMPLES CLOSELY! FTPMAIL e-mail requests must be sent in ASCII/Plain Text only. HTML formatting will likely result in no response from the FTPMAIL server. tgftp.nws.noaa.gov is the only valid FTP site for this service. This National Weather Service (NWS) FTPMAIL server is intended to allow Internet access for users who do not have direct access to the World Wide Web but who are equipped with an e-mail system. The service is free and no signup is required. Using FTPMAIL, users can request files from NWS and have them automatically e-mailed back to them. Turnaround is generally in under one hour, however, performance may vary widely and receipt cannot be guaranteed. NOTICE - Check time and date of forecasts. Downloaded data may not represent the latest forecast. The Internet is not part of the National Weather Service's operational data stream and should never be relied upon as a means to obtain the latest forecast and warning data. Become familiar with and use other means such as NOAA Weather Radio to obtain the latest forecasts and warnings. Please read our disclaimer at http://www.nws.noaa.gov/disclaimer.php Although these instructions are tailored for marine users to gain access to graphic(radiofax) and text products via e-mail, all publicly available data on the tgftp.nws.noaa.gov Internet FTP server is accessible using the FTPMAIL service. To use FTPMAIL, the user sends a small script file via e-mail to NWS requesting the desired file(s). Users should be familiar with sending and receiving messages and attachments with their particular e-mail system. Attachments are received in UUencoded form. The majority of modern e-mail systems handle the conversion automatically, other users will need to run the UUdecode program for their particular system. See your system administrator if you have any questions on this topic. The UUencoding process can add 0 to >100% overhead depending on your system and the type of file. Files sizes for NWS radiofax graphic files average 35KB but can be much greater. Users should be aware of the costs for operating their particular e-mail system before attempting to use FTPMAIL, especially when using satellite communication systems. For marine users, using FTPMAIL via INMARSAT-C for obtaining current NWS radiofax graphic files is cost prohibitive. Using the FTPMAIL compression feature of FTPMAIL is not recommended as these files are already in a compressed T4(G4) format enveloped in TIFF for viewing. You will need a graphics program capable of displaying files in this format in order to view them. Suggestions for TIFF viewers may be found in file http://weather.noaa.gov/fax/rfaxtif.txt NEW! Radiofax .TIF files now also available as (larger) .gif files The following examples demonstrate the use of FTPMAIL. Indexes of currently available marine products, the list FTPMAIL commands, and suggestions for TIFF viewers may be obtained following these instructions. To use FTPMAIL: o Send an e-mail via the Internet to: ftpmail@ftpmail.nws.noaa.gov o Put anything you like on the subject line o Enter a command script in the body of the message NOTE: Correct capitalization for commands, directory and file names is critical Example scripts are: help Connect to default_site (tgftp.nws.noaa.gov) and send back this help file to e-mail address of requestor open cd fax get PWAE98.TIF quit Connect to default_site (tgftp.nws.noaa.gov) and send back the chart file PWAE98.TIF to e-mail address of requestor open cd data cd forecasts cd marine cd coastal cd an get anz231.txt quit Connect to default_site (tgftp.nws.noaa.gov) and send back coastal marine zone forecast ANZ231 to e-mail address of requestor open cd data cd forecasts cd zone cd md get mdz009.txt quit Connect to default_site (tgftp.nws.noaa.gov) and send back public land zone forecast MDZ009 to e-mail address of requestor. (Contact your local forecast office to identify the public forecast zone number for your county, known as the UGC code) reply-to captain.kidd@noaa.gov open dir quit Connect to default_site (tgftp.nws.noaa.gov) and send back the contents of the top level directory to captain.kidd@noaa.gov open cd fax get ftpcmd.txt (List of FTPMAIL commands) get rfaxtif.txt (TIFF suggestions) get rfaxatl.txt (Atlantic radiofax file directory) get rfaxpac.txt (Pacific radiofax file directory) get rfaxmex.txt (Gulf of Mexico and Trop Atl radiofax file dir) get rfaxak.txt (Alaska radiofax and ice file directory) get rfaxhi.txt (Hawaii radiofax file directory) get otherfax.txt (Foreign charts file directory) get marine1.txt (Highseas,Offshore,Open Lakes,NAVTEX text file dir) get marine2.txt (Hurricane text file directory) get marine3.txt (Coastal forecasts text file directory) get marine4.txt (Offshore forecasts by zone directory) get marine5.txt (Atlantic coastal forecasts by zone directory) get marine6.txt (Pacific coastal forecasts by zone directory) get marine7.txt (Gulf of Mexico coastal forecasts by zone dir) get marine8.txt (Great Lakes coastal forecasts by zone directory) get marine9.txt (Alaska coastal forecasts by zone directory) get marine10.txt (Hawaii&Trust coastal forecasts by zone directory) get uk.txt (UK marine forecasts from Bracknell directory) get canada.txt (Canadian marine text forecast directory) get tsunami.txt (Tsunami products directory) get robots.txt (Marine forecasts and info via e-mail systems) quit Connect to default_site (tgftp.nws.noaa.gov) and send back the requested files to e-mail address of requestor. Many, but not all National Weather Service forecast products may be obtained using FTPMAIL if the WMO/AWIPS Header is known as follows. Example: To obtain the Atlantic high seas Forecast, WMO header FZNT01 KWBC, AWIPS header HSFAT1 Send an e-mail to: ftpmail@ftpmail.nws.noaa.gov Subject Line: Put anything you like Body: open cd data cd raw cd fz get fznt01.kwbc.hsf.at1.txt quit *************************SPECIAL NOTES************************* CAUTION - READ THIS HELP FILE CAREFULLY - 99% OF ERRORS USING FTPMAIL ARE SIMPLE TYPO'S, INCORRECT CAPITALIZATION, FAILURE TO SEND IN PLAIN TEXT FORMAT, OR FAILURE TO SET UP ANY SPAM FILTERS PROPERLY. FOLLOW THE EXAMPLES CLOSELY! FTPMAIL e-mail requests must be sent in ASCII/Plain Text only. HTML formatting will likely result in no response from the FTPMAIL server. Problems have been reported by users of Hotmail. (This may now be fixed) If you restrict incoming e-mail as a means of preventing spam, you must program your e-mail system to allow messages from: ftpmail@ftpmail.nws.noaa.gov The majority of error messages have been disabled. You may or may not receive an error message back from FTPMAIL if your script is in error. FTPMAIL problems are occasionally encountered when embedded control characters are received within the e-mail message received by the FTPMAIL server. These control characters may be introduced by the user's e-mail system and may be unavoidable. Also be certain that each of your commands does not have any leading and/or trailing space(s) or you may see an error message with a number of statements saying "=20" Problems may also be encountered in trying to go down several levels of directories simultaneously, e.g. "cd data/forecasts/marine/test". Use a series of commands "cd data", "cd forecasts", "cd marine" instead. In both these instances, the likely error will be "Directory not Found" If the FTPMAIL server is too busy, you will receive an e-mail with a subject line similar to: "ftpmail job queuing for retry queue/097095.69568" Your request will be resubmitted automatically and your requested file(s) should be received within several hours. **************************************************************** An FAQ webpage describing several public and commercial FTP-to-EMAIL and WWW-to-EMAIL servers may be found at: www.faqs.org/faqs/internet-services/access-via-email/ If you have access to the Internet, be certain to check out the following webpages. See these pages for further links. http://www.nws.noaa.gov NWS Homepage http://www.nws.noaa.gov/om/marine/home.htm NWS Marine Page cell.weather.gov Cellphone page mobile.weather.gov Mobile Page Author: Timothy Rulon, Marine and Coastal Weather Services Branch W/OS21 National Weather Service Last Modified Aug 27, 2008 Document URL: http://weather.noaa.gov/pub/fax/ftpmail.txt ftp://tgftp.nws.noaa.gov/fax/ftpmail.txt