FC++  v0.7.1-1067
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

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:

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

References example006().

Here is the call graph for this function:

Variable Documentation

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