go get -u github.com/datawire/go-fuseftp
This is a FUSE (Filesystem in USEr Space) implementation for FTP, intended to be used as a library. It builds upon:
- github.com/winfsp/cgofuse, a cross-platform FUSE library for Go
- github.com/jlaffaye/ftp, an FTP client library for Go
The tests uses an FTP server based on github.com/fclairamb/ftpserverlib, a Golang FTP Server Libray
The cgofuse
library relies on CGO, and that the headers for libfuse is installed. On Ubuntu, you'd typically do
$ sudo apt-get install -y libfuse-dev
Once installed, the package can be unit tested using:
$ make test
The gRPC server binary is built using:
$ make fuseftp