[paramiko] scp [ again :) ]

James Bardin jbardin at bu.edu
Tue Feb 19 13:24:23 PST 2008


Hello Robey et al.,

Sorry about the half attempt at the scp client, I just wasn't thinking.
Here's a real one to look over, but there have been some changes...

The SCPClient class simply has public methods put and get. All 
filesystem stuff, including recursion, is handled internally. This may 
be convenient, but the progress object I had won't work. If anyone 
thinks they need a way to track transfer progress, I would welcome 
suggestions. My only idea was to write the progress to a buffered file, 
and let the user pipe it to the real stdout, or read it in another 
thread - I haven't tested this idea yet though.


Thanks
-jim


-------------- next part --------------
A non-text attachment was scrubbed...
Name: scp.py.gz
Type: application/x-gzip
Size: 3105 bytes
Desc: not available
Url : http://www.lag.net/pipermail/paramiko/attachments/20080219/0b1795c1/attachment.bin 


More information about the paramiko mailing list