lmess / ftp_server

A very simple FTP server based on yasio, as a submodule of yasio/examples/ftp_server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ftp_server

The binary of this project is deployed at ftp://ftp.yasio.org/

build and run

build

Goto the parent project's root directory, the parent project is: yasio

mkdir build  
cmake ..  
cmake --build . --config Release --target ftp_server  

run

Continue run ftp server after build finished

cd examples/ftp_server  
./ftp_server <path-to-wwwroot> <wan_ip>[optional]  

references:

ftp://ftp.gnu.org/
https://tools.ietf.org/html/rfc959

pitfall:

Some client's ip may block by server firewall strategy, please switch to mobile cellular network and try access the ftp again.

About

A very simple FTP server based on yasio, as a submodule of yasio/examples/ftp_server

License:MIT License


Languages

Language:C++ 96.9%Language:CMake 3.1%