Re: [Twisted-Python] Conch SFTP Questions

2020-09-24 Thread Robert DiFalco
Here's a gist and here are my high level questions, I hope they make sense and this is enough context. https://gist.github.com/radifalco/5a5cca4bf8d49d5c61113e36f9be7553 1. I would expect a `makeDirectory` to raise an exception when the SSH server closes a connection that is idle for too long (or

Re: [Twisted-Python] Conch SFTP Questions

2020-09-23 Thread Glyph
> On Sep 22, 2020, at 3:47 PM, Robert DiFalco wrote: > > Thanks! That is the full code. `connect` is from the conch library. To clarify Adi's comment somewhat, the "full" code would mean following the rules of http://sscce.org here; i.e. minimize the example to be runnabl

Re: [Twisted-Python] Conch SFTP Questions

2020-09-22 Thread Robert DiFalco
Thanks! That is the full code. `connect` is from the conch library. On Tue, Sep 22, 2020 at 12:57 PM Adi Roiban wrote: > Hi Robers > > On Tue, 22 Sep 2020 at 16:43, Robert DiFalco > wrote: > >> Hey folks, I've cobbled together an SFTP client based on bits and pieces >> I've found around the web

Re: [Twisted-Python] Conch SFTP Questions

2020-09-22 Thread Adi Roiban
Hi Robers On Tue, 22 Sep 2020 at 16:43, Robert DiFalco wrote: > Hey folks, I've cobbled together an SFTP client based on bits and pieces > I've found around the web. The issue is that it appears to be almost one > shot. I will need to send many files (the number not known ahead of time). > It's

[Twisted-Python] Conch SFTP Questions

2020-09-22 Thread Robert DiFalco
Hey folks, I've cobbled together an SFTP client based on bits and pieces I've found around the web. The issue is that it appears to be almost one shot. I will need to send many files (the number not known ahead of time). It's not clear to me when the connection is closed or how many factories I'm c