IOError: [Errno 2] No such file, put() sftp_client
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
paramiko |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
I am uploading zip files to a linux server from xp
some time there is no error, some times it can not upload a specific file.
the test program:
transport = paramiko.
transport.
sftp = paramiko.
localpath = 'C:/Program Files/infoio/
filepath= '/home/
sftp.put( localpath,filepath)
sftp.close()
transport.
the out put:
Traceback (most recent call last):
File "D:\Project\
sftp.put( localpath,filepath)
File "C:\Python25\
s = self.stat(
File "C:\Python25\
t, msg = self._request(
File "C:\Python25\
return self._read_
File "C:\Python25\
self.
File "C:\Python25\
raise IOError(
IOError: [Errno 2] No such file
It's happening for me now too. I'm on Python 2.6 on a Mac client, uploading to a CentOS machine.