3 ms·
Can this project be used as a library and integrated into an existing program? I am asking, b/c I am currently working on a little document management system f
by heinrichhartman 7y ago
Can this project be used as a library and integrated into an existing program?
I am asking, b/c I am currently working on a little document management system for home-use.
It looks like the only sane way to integrate with document scanners is (S)FTP upload or Email (SMPT).
I have tried to use off-the-shelf FTP servers for this and inotify to get notified of new uploads.
The the solutions work OK, but are hard to setup and rather brittle (and limited to Linux).
Go seems to be the ideal language for this project, because its concurrency model and the ease of distribution (as single binary files).
- Has anyone here experience with building systems like this (integrating via FTP/SMTP)?
- Any recommendations for languages and libraries?
- quickquestion42 7y agoThe linked project seems to be a wrapper around https://github.com/pkg/sftp https://github.com/pkg/sftp
- heinrichhartman 7y agoAh Thx! Should have checked the code myself. The library looks good. Not too much documentation (https://github.com/pkg/sftp/issues/267 https://github.com/pkg/sftp/issues/267, https://github.com/pkg/sftp/issues/247 https://github.com/pkg/sftp/issues/247), but straight forward and battle tested.
- mook 7y agoYou might need to double check your requirements — SFTP is a very different protocol from FTP/FTPS. Using SFTP for something like document scanners without strong Unix roots would be surprising to me, at least.