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

Support streams

Open baterflyrity opened this issue 4 years ago • 2 comments

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.

baterflyrity avatar Feb 19 '21 09:02 baterflyrity

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

remram44 avatar Feb 19 '21 15:02 remram44

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

baterflyrity avatar Feb 20 '21 08:02 baterflyrity

Duplicate of #94

remram44 avatar Jul 27 '23 14:07 remram44