8000 GitHub - ZureTz/simple-ftp: Linux specific (using sendfile()), FTP Server and Client using Socket Programming in C++
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ZureTz/simple-ftp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-ftp

Compile

# Compile the project
xmake

Run

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

About

Linux specific (using sendfile()), FTP Server and Client using Socket Programming in C++

Resources

Stars

Watchers

Forks

Languages

0