[R-sig-Geo] modis download authentication

Luca Candeloro luca.candeloro at gmail.com
Thu Sep 8 13:16:56 CEST 2016

I used succesfully the function getBinaryURL from RCurl library to download
.hdf file, as in:

content <- getBinaryURL("

Since http://e4ftl01.cr.usgs.gov/ has recently applied a login and pass
authentication to retrieve data, the previous code doesn't work.
It seems (from
that curl options should be necessarily  set.
Does someone know how to correctly specify RCurl options in R, so that
getBinaryURL works again?

	[[alternative HTML version deleted]]

More information about the R-sig-Geo mailing list