search for: filelisturl

Displaying 1 result from an estimated 1 matches for "filelisturl".

Did you mean: filelister
2012 Mar 07
0
listening folder and directories on ftp server
...using the "getURL" function from RCurl package. But it relativly often happens 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(dirlis...