# Compile the project
xmake
Server side:
Make a new 'config.json' file:
cp config.example.json config.json
And edit the shared directory path and username/password in config.json
to your desired values.
Then run the server:
xmake run simple-ftp-server --port 8080
Or run binary directly:
build/linux/<your-arch>/simple-ftp-server --port 8080
Run the client:
xmake run --workdir=received simple-ftp-client --host <server-ip> --port 8080
Or run binary directly:
mkdir -p received && cd received && \
build/linux/<your-arch>/simple-ftp-client --host <server-ip> --port 8080