Files | |
file | example001.cpp |
Getting started with fc::Control and fc::Options. | |
file | example002.cpp |
Download a single file with fc::Control::download() and uses fc::Control::getMostRecentFileStats() to display a large number of statistics on the file itself as well as the UDP transfer. | |
file | example003.cpp |
Very simple example of uploading a file using fc::Control::upload(). | |
file | example004.cpp |
Use a 2nd thread combined with fc::Control::getMostRecentFileStats() to display a simple progress indicator while the original thread completes a download using fc::Control::prepareSingleFile() and fc::Control::download(). | |
file | example005.cpp |
Retrieve a fc::FDVec (std::vector of fc::FileDetails) and display information on all the files on the remote server. | |
file | example006.cpp |
Use fc::Control::prepareRecursiveDir() to download a set of file and subdirectories, then upload the same set to a new location. Statistics on all the transferred files are displayed using fc::TransferStats::getStr(). | |
file | example007.cpp |
Use the callback hook fc::Control::setStatsCallback() to get a statistics callback every second during a transfer. | |