title: curl FTP access denied
body: <p>I am using curl php API to access FTP links. On a particular site, it gives error code 9 (access denied). However the link is accessible from IE and Firefox. </p>
  
  <p>Then I run curl command line and it gave the same "access deinied" results.</p>
  
  <pre><code>&gt; d:&gt;\curl -v ftp://ftp1.example.com/outgoing/EHF/dbex10win_en.zip
  &gt; * About to connect() to ftp1.example.com port 21 (#0)
  &gt; *   Trying 204.50.113.145...
  &gt; * connected
  &gt; * Connected to ftp1.example.com (204.50.113.145) port 21 (#0) &lt; 220 Microsoft FTP Service
  &gt; &gt; USER anonymous &lt; 331 Anonymous access allowed, send identity (e-mail name) as password.
  &gt; &gt; PASS ftp@example.com &lt; 230-Welcome to Example FTP site! &lt; 230 Anonymous user logged in.
  &gt; &gt; PWD &lt; 257 "/" is current directory.
  &gt; * Entry path is '/'
  &gt; &gt; CWD outgoing &lt; 550 outgoing: Access is denied.
  &gt; * Server denied you to change to the given directory
  &gt; * Connection #0 to host ftp1.example.com left intact curl: (9) Server denied you to change to the given directory
  &gt; &gt; QUIT &lt; 221
  &gt; * Closing connection #0
  </code></pre>
  
  <p>But the link works fine in Firefox. What is wrong with cUrl here? Thanks</p>