title: cURL Upload file to a distant server behind a proxy
body: <p>I'm trying to upload a file by FTP to a distant server but I have to use a proxy for doing it.
  I'm using cURL in command line. Here the command I'm trying to execute:</p>
  
  <pre><code>curl -x http://proxyUsername:proxyPassword@proxyIp:proxyPort -T test.csv ftp://ftpUser:ftpPassword@ftpUrl:ftpPort
  </code></pre>
  
  <p>Here the message I got: </p>
  
  <pre><code>curl: (52) Empty reply from server
  </code></pre>
  
  <p>I try different configuration, but I can't get to the server. When I'm trying to connect to the FTP server from another webserver without proxy, it works, so I guess this is either the proxy which is not configure correctly or my curl command which is missing something.</p>
  
  <p>If you have any ideas on how I can be able to upload a file.</p>
  
  <p>Regards.</p>