scp.py icon indicating copy to clipboard operation
scp.py copied to clipboard

scp module for paramiko

Results 32 scp.py issues
Sort by recently updated
recently updated
newest added

In function _recv_file(self, cmd) file where received data is stored is opened (file_hdl), but it is closed only in case whole data is transmitted properly. In case transmission is failed...

bug
pr exists

I'm getting an exception with the function .put() `scp.put(files=localPath,remote_path=remotePath,recursive=True)` - `localPath` = `'C:\\Users\\taill\\AppData\\Local\\Temp\\tmpycfisven\\Version1.1\\builtapp'` - `remotePath` = `'/var/www/projet41_new'` ![image](https://user-images.githubusercontent.com/54487782/160298303-03ce9397-839e-486c-a98d-79f196f9e330.png) I checked to see if I had the writing rights and I...

There is a `put` method that takes paths and a `putfo` method that takes a file object instead. On the other hand there is only a `get` method and no...

enhancement
help wanted
hacktoberfest

Hi! Can someone add support for raw binary streams instead of reading/writting physical files? I have a starting point [here](https://github.com/jbardin/scp.py/blob/db5aad819766ee1786de4d8c5f13de60f71f2184/scp.py#L428): simply add availability of passing stream as *file* parameter alongside...

enhancement

scp doesn't check the exit code of the remote scp operation. Unfortunately the scp command that comes with Windows 10 apparently doesn't provide any error messages at all on failure:...

bug
hacktoberfest

The previous scp single-quote algorithm for pathnames worked well for POSIX servers but had problems on Windows servers, where single quotes are not recognized (just treated like normal characters). Use...

bug

I was having a problem with scp hanging copying files to Windows (using the Windows-provided Windows 10 OpenSSH server on the remote). After a number of hours of debugging I...

bug
pr exists

The timeout has to be increased to handle pauses happening at start. The more the bandwidth is limited, the more the timeout should be.

enhancement

I am copying files to a web server that uses a default mode of 600, however I wanted to keep the permissions from the local files or force 644. This...

enhancement

I gave this code a try and here is a branch with quick and dirty fixes. channel.recv() method is (ab)used in the code and already receive data is not buffered...

bug
waiting on author