Public bug reported: I am trying to scp a db which is a little larger than 500mb and I am getting copied only a block (I suppose), because the log is: <SFTPAttributes: [ size=97 uid=0 gid=0 mode=0100644 atime=1514977021 mtime=1514977021 ]>
I tried two versions of doing so but both are behaving the same: the first code I have tried: ssh = paramiko.SSHClient() ssh.load_host_keys(os.path.expanduser(os.path.join('~','envs','test','test.db'))) ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy()) ssh.connect(server, username=username, password=password) sftp = ssh.open_sftp() sftp.put("/local/path/to/test.db","/remote/path/to/test.db") the second: t = paramiko.Transport((hostname)) t.connect(username=username, password=password) sftp = paramiko.SFTPClient.from_transport(t) sftp.put("/local/path/to/test.db","/remote/path/to/test.db") ** Affects: paramiko (Ubuntu) Importance: Undecided Status: New ** Tags: files large paramiko -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1741029 Title: Copying large files not working To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/paramiko/+bug/1741029/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs