Displaying 1 result from an estimated 1 matches for "mod16a2".
Did you mean:
mod11a2
2012 Oct 11
1
Problems with getURL (RCurl) to obtain list files of an ftp directory
...a ftp directory list from the MOD16 (ET, DSI)
products, and then to download them. (part of the script by Tomislav
Hengl, spatial-analyst). Instead of the list of files (from ftp), I am
getting the complete html code. Anyone knows why this might happen?
This are the steps i have been doing:
> MOD16A2.doy<- '
ftp://ftp.ntsg.umt.edu/pub/MODIS/Mirror/MOD16/MOD16A2.105_MERRAGMAO/'
> items <- strsplit(getURL(MOD16A2.doy,
.opts=curlOptions(ftplistonly=TRUE)), "\n")[[1]]
>items #results
[1] "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\&q...