jbardin / scp.py

scp module for paramiko
Other
529 stars 139 forks source link

Support streams #153

Closed baterflyrity closed 11 months ago

baterflyrity commented 3 years ago

Hi! Can someone add support for raw binary streams instead of reading/writting physical files?

I have a starting point here: simply add availability of passing stream as file parameter alongside with manually opening it every time.

remram44 commented 3 years ago

Would wrapping the calls to open() in a member method help? That way you can override it in a subclass?

baterflyrity commented 3 years ago

@remram44 , can you explain more detailed what do you mean under wrapping?

remram44 commented 11 months ago

Duplicate of #94