Displaying 1 result from an estimated 1 matches for "dirlisturl".
2012 Mar 07
0
listening folder and directories on ftp server
...pens that I get a errorcode 550 an I'm not able to get the information. If I put the very same adress to a browser I get te content, so the connection is working.
Thanks in advance Matteo
####
library(RCurl)
filelisturl <- "ftp://e4ftl01.cr.usgs.gov/MOLT/MOD13Q1.005/2000.02.18"
dirlisturl <- "ftp://e4ftl01.cr.usgs.gov/MOLT/MOD13Q1.005/"
getURL(filelisturl) # sometimes it works but if not I get this error: Error in function (type, msg, asError = TRUE) : RETR response: 550
getURL(dirlisturl) # dir list has less problems than filelist but it is not reliable too
####...