I am training employees on the use of HYSPLIT. We are invoking batch scripts which use the ftp command to download met data from the ARL servers. The ftp seems to work as expected when employees are in the office but are consistently failing outside the office. Strangely, the ftp has worked for someone on their personal machine one morning, while failing an identical trial later that same afternoon while working on a windows 11 machine. Everyone else is using Windows 10 enterprise. Some are connected to a VPN while invoking ftp, however, we have confirmed the same ftp failure occurs without being connected to a VPN.
Monitoring the progress of downloads on some machines showed temporary files created in windows explorer, but the download fails to complete...except when physically in our office. This does not appear to be related to specific machine formats as there is a mix of personal and issued computers being used for this training. Are there known network issues when using ftp.exe to ARL servers on windows that could help us alleviate the issues we are running into?
We are all using the same version of HYSPLIT (5.3), which was downloaded here: https://www.ready.noaa.gov/data/web/mod ... v5.3.0.zip
Whether downloading 1 or 4 files, it keeps failing near the end of the download.
ftp.txt content:
user anonymous name@server.com
cd /pub/archives/nam12
binary
prompt
get 20190309_nam12
get 20190308_nam12
get 20190307_nam12
get 20190306_nam12
bye
Many thanks for any suggestions,
Joel
FTP unpredictably failing to complete
-
- Posts: 1
- Joined: May 16th, 2024, 1:35 am
- Registered HYSPLIT User: Yes
Re: FTP unpredictably failing to complete
Can anyone answer this questiontubidy? I'mp3 juicem looking for a solution because I have the same problem. If anyone has oney2mate.diy, please tag me. Thanks a lot.
-
- Posts: 389
- Joined: May 8th, 2019, 1:31 pm
- Registered HYSPLIT User: Yes
Re: FTP unpredictably failing to complete
If you were using the FTP command provided by MS Windows, you might want to use a third-party FTP client such as FileZilla FTP Client, WinSCP, etc. The Windows FTP command (ftp.exe) does not support passive mode and this might be causing the connection issue you experienced.
In lieu of a third-party FTP client, you could use the wget.exe program found in the HYSPLIT exec directory. For example, your Windows batch script could be:
c:\hysplit\exec\wget.exe --prefer-family=IPv4 --unlink -O 20190309_nam12 https://www.ready.noaa.gov/data/archive ... 0309_nam12
c:\hysplit\exec\wget.exe --prefer-family=IPv4 --unlink -O 20190308_nam12 https://www.ready.noaa.gov/data/archive ... 0308_nam12
c:\hysplit\exec\wget.exe --prefer-family=IPv4 --unlink -O 20190307_nam12 https://www.ready.noaa.gov/data/archive ... 0307_nam12
c:\hysplit\exec\wget.exe --prefer-family=IPv4 --unlink -O 20190306_nam12 https://www.ready.noaa.gov/data/archive ... 0306_nam12
In lieu of a third-party FTP client, you could use the wget.exe program found in the HYSPLIT exec directory. For example, your Windows batch script could be:
c:\hysplit\exec\wget.exe --prefer-family=IPv4 --unlink -O 20190309_nam12 https://www.ready.noaa.gov/data/archive ... 0309_nam12
c:\hysplit\exec\wget.exe --prefer-family=IPv4 --unlink -O 20190308_nam12 https://www.ready.noaa.gov/data/archive ... 0308_nam12
c:\hysplit\exec\wget.exe --prefer-family=IPv4 --unlink -O 20190307_nam12 https://www.ready.noaa.gov/data/archive ... 0307_nam12
c:\hysplit\exec\wget.exe --prefer-family=IPv4 --unlink -O 20190306_nam12 https://www.ready.noaa.gov/data/archive ... 0306_nam12