
On May 15, 2020, at 6:14 PM, Ian Haywood <ian@haywood.id.au> wrote:
On 16/05/2020 10:55 am, Ian Haywood wrote:
On 15/05/2020 10:52 am, Glyph wrote:
y 14, 2020, at 5:23 PM, Wilfredo Sánchez Vega <wsanchez@wsanche <mailto:wsanchez@wsanchez.net>
I think it's great to get an SMB implementation in the Twisted org, but why would we even consider adding something like this to the main Twisted project?
The advantage of twisted itself is cross-protocol abstractions such as cred. Of course you don't have to be in the repo to use them, but in practice developers need the discipline of a single project to maintain consistency, otherwise the human tendency to reinvent wheels is too strong
Apropos we have two APIs for exporting filesystems which are broadly similar: SFTP in conch and FTP itself, SMB is about to be a third, ideally we should have one or have them descend from one another. It's slightly harder than it sounds as SMB is a file-access, as opposed to file-transfer, protocol and supports some extra features such as locking.
This does point out one of my secret hopes for SMB: that a file server's maintainers will care enough about file throughput that we'll finally get a centralized, official way of doing async file I/O that we can share with SFTP, FTP, and HTTP :). -glyph