title: Error accessing ftp with getURL in R
body: <p>I want access files on the internet, but I get the following error message:</p>
  
  <pre><code>Error in function (type, msg, asError = TRUE)  : Access denied: 530
  In addition: Warning messages:
  1: In strsplit(str, "\\\r\\\n") : input string 1 is invalid in this locale
  </code></pre>
  
  <p>This is my code from this <a href="https://stackoverflow.com/questions/16699856/get-website-directory-listing-in-an-r-vector-using-rcurl">post</a>:</p>
  
  <pre><code>library(RCurl)    
  url&lt;'ftp://ftp.address'
      userpwd &lt;- "user:password"
  filenames &lt;- getURL(url, userpwd = userpwd,
                      ftp.use.epsv=FALSE, dirlistonly = TRUE)
  </code></pre>
  
  <p>Any idea how to solve this?</p>
  
  <p>Thanks a lot for your help!</p>