Fail to download zip file using download.file()

,

I'm trying to download a .zip file from url:
but it downloads a 14kb file (the real file is much much bigger).

download.file("https://coast.noaa.gov/htdata/Inundation/SLR/SLRdata/FL/ALFL_MOB_TLH_slr_data_dist.zip",destfile = "./test.zip")

I'm using my work computer which has a browser isolation:
https://safe.menlosecurity.com/https://coast.noaa.gov/htdata/Inundation/SLR/SLRdata/FL/ALFL_MOB_TLH_slr_data_dist.zip

so i tried downloading from that url as well, but that only produces a 1477 bytes file.

I ran download.file on my personal computer for the url and it downloaded the file correctly.

Next I changed the the method to 'libcurl' but i get an error and warning:

**status was 'SSL connect error'Error in download.file("https://coast.noaa.gov/htdata/Inundation/SLR/SLRdata/FL/ALFL_MOB_TLH_slr_data_dist.zip", cannot open URL

I'm not sure how to configure the download.file() function to allow the download of this zip file.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.