Hacker News new | past | comments | ask | show | jobs | submit login

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?




The linked project seems to be a wrapper around

https://github.com/pkg/sftp


Ah 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/247), but straight forward and battle tested.


You 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: