title: Using Sudo in Windows SFTP to switch user?
body: <p>I am trying to upload files on my server using the PuTTY SFTP command shell.
  My teammates have been using the Mac and Linux is our server, so they have predefined commands.</p>
  
  <p>I am working on Windows and need to do the following (these are ssh commands on Mac for SFTP) :</p>
  
  <pre class="lang-sh prettyprint-override"><code># Copy from my laptop to my home directory  /home/username
  # Change the permissions on your folder:  
  chmod 777 /home/username # this is giving issues
  
  # Change to the "ABC" user: 
  sudo su gcnweb # this is not working in windows
  
  cd /path../  # Go to the deployment directories //no issues here
  
  cp /path of the director/ # Copy the files from your home dir to the deployment dir //no issues here
  </code></pre>
  
  <p>Please check above and if anyone can help me in workaround to the same in Windows using PuTTY SFTP.</p>