Skip to content
This repository has been archived by the owner on Jan 4, 2024. It is now read-only.
/ FileUploader Public archive
forked from tongyuantongyu/FileUploader

Simple multithread file uploader in C++. Subject Homework.

License

Notifications You must be signed in to change notification settings

LDLDL/FileUploader

 
 

Repository files navigation

File Uploader

Upload file from local to remote in multithread.

https://github.com/tongyuantongyu/FileUploader

How to run:

1. Clone the repository with its submodules

git clone https://github.com/tongyuantongyu/FileUploader.git
cd FileUploader
git submodule update --init --recursive

2. Compile cryptopp

./third_party/cryptopp/make static

Or you can also download a prebuilt version of cryptopp library from the release page.

3. Run cmake and compile

On Windows(Using MinGW)
For debug build

cmake -DCMAKE_BUILD_TYPE=Debug -G "MinGW Makefiles" -S ./ -B ./cmake-build-debug/
cmake --build ./cmake-build-debug --target all --

For release build

cmake -DCMAKE_BUILD_TYPE=Release -G "MinGW Makefiles" -S ./ -B ./cmake-build-release/
cmake --build ./cmake-build-release --target all --

On Linux(Only tested with GNU C++ Compiler 8.3.0)
For debug build

cmake -DCMAKE_BUILD_TYPE=Debug -G "Unix Makefiles" -S ./ -B ./cmake-build-debug/
cmake --build ./cmake-build-debug --target all --

For release build

cmake -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles" -S ./ -B ./cmake-build-release/
cmake --build ./cmake-build-release --target all --

Check cmake-build-debug or cmake-build-release folder for compiled binary.

About

Simple multithread file uploader in C++. Subject Homework.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 95.8%
  • CMake 4.2%