title: SCP: file not found when trying to copy from windows to linux server
body: <p>In putty i want to copy a .war file from my machine (at <code>D:\\file.war</code>) to a remote server like this:</p>
  
  <pre><code>sudo scp -r D://file.war user@xxx.xxx.xxx.xxx:/tomcat8/webapps
  </code></pre>
  
  <p>it doesn`t work and i have also tried things like:</p>
  
  <pre><code>sudo scp -r \file.war user@xxx.xxx.xxx.xxx:/tomcat8/webapps
  </code></pre>
  
  <p>or</p>
  
  <pre><code>sudo scp -r /cygdrive/d/file.war user@xxx.xxx.xxx.xxx:/tomcat8/webapps
  </code></pre>
  
  <p>I have to type in my password two times then (one time for sudo, next time for user). But then i get always the same error:</p>
  
  <pre><code>&lt;pathtolocalfile&gt;: No such file or directory
  </code></pre>
  
  <p>Putty always connects via SSH. I need <code>sudo</code> to get permission to write into the webapps folder. </p>
  
  <p>How do i have to specify the path? Sry, i´m trying this for the first time and after some research i´m getting more and more confused about how to do this the right way.</p>