title: How can I CURL a remote file to a remote server
body: <p>I am able to upload a local file to a remote server using the command</p>
  
  <pre><code>curl -T abc.pom -uusername:password URL
  </code></pre>
  
  <p>But I am not able to upload a remote file to that URL. The command I am using is this </p>
  
  <pre><code>curl -T remote-file-url -uusername:password URL
  </code></pre>
  
  <p>Is it not possible to do this? Is downloading it and then uploading it again the only option here?</p>