Displaying 1 result from an estimated 1 matches for "inmyfolder".
Did you mean:
anyfolder
2010 Jul 21
1
Command that is conditional upon file retrieval: is it possible?
...t with regards to time posted, if
they post at all, etc.... Here's some of the code I use:
library(RCurl)
url1 = paste("ftp://user:password at a.great.website.com/", "file", num1,
".csv", sep = "")
data1 = getURL(url1)
write(data1, file = paste("inMyFolder", num1, ".csv", sep = ""))
Sometimes this process works perfectly, and sometimes I get an error message
like this attached to "data1 = getURL(url1)":
Error in curlPerform(curl = curl, .opts = opts, .encoding = .encoding) :
RETR response: 550
That's beca...