FC++  v0.7.2-1128
FileCatalyst Fast File Transfers - C++ Library
example006.cpp File Reference

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(). More...

#include "FileCatalyst.hpp"
#include <iostream>
Include dependency graph for example006.cpp:

Functions

void example006_print_stats (const fc::TransferStatsMap &m)
 
int example006 (void)
 
int main (int argc, char *argv[])
 

Variables

const std::string username = TEST_USER
 
const std::string password = TEST_PASS
 
const std::string serverIP = TEST_SERVER
 

Detailed Description

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().

Function Documentation

◆ example006_print_stats()

void example006_print_stats ( const fc::TransferStatsMap m)

References fc::TransferStats::getStr(), and stats.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ example006()

◆ main()

int main ( int  argc,
char *  argv[] 
)

References example006().

Here is the call graph for this function:

Variable Documentation

◆ username

const std::string username = TEST_USER

◆ password

const std::string password = TEST_PASS

◆ serverIP

const std::string serverIP = TEST_SERVER