go-ftpd

command module
v0.0.0-...-ee779ca Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2021 License: MIT Imports: 11 Imported by: 0

README

Go FTP

A simple FTP Server, in Go

Coverage Status

As a default behaviour, ./public folder with examples is served.

go run .

#
go run . --path /home/$USER

Then connect to it:

nc localhost 8021

While this is not a real FTP server, it handles basic commands like:

  • cd
  • ls
  • cat

The program accepts a -path ./public as the root path to point the server to.

It's guaranteed the client can not escape the root path, as it is intended as a jail for it.

This is a WiP or even better, an experiment.

Feedbacks are very welcome.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL