title: Paramiko error using put
body: <p>Hi I am using paramiko 1.7.6 "fanny" on microsoft windows xp v2002 service pack3 with python 2.4.2 </p>
  
  <p>I have the follwing script:</p>
  
  <pre><code>import paramiko
  
  hostname='blah' 
  port=22
  username='blah'
  password='blah'
  fullpath='\\\\root\\path\\file.xls'
  remotepath='/inbox/file.xls'
  
  self.client= paramiko.SSHClient()
  self.client.load_system_host_keys()
  self.client.connect(hostname,port,username,password)
  sftp = self.client.open_sftp()
  sftp.put(fullpath,remotepath)
  </code></pre>
  
  <p>the error I get is:</p>
  
  <pre><code>sftp.put(fullpath,remotepath))
  
  File "build\bdist.win32\egg\paramiko\sftp_client.py", line 577, in put
  File "build\bdist.win32\egg\paramiko\sftp_client.py", line 337, in stat
  File "build\bdist.win32\egg\paramiko\sftp_client.py", line 628, in _request
  File "build\bdist.win32\egg\paramiko\sftp_client.py", line 675, in _read_response
  File "build\bdist.win32\egg\paramiko\sftp_client.py", line 701, in _convert_status
  IOError: [Errno 2] /inbox/file.xls is not a valid file path
  </code></pre>
  
  <p>but the path definitely exists (I can move into it using sftp.chdir('inbox')) I
  have also tried moving into the folder and using put but I get the exact same
  error (did take out inbox prefix)</p>
  
  <p>Has anyone had this issue?</p>
  
  <p>Cheers
  matt</p>