Functions | |
int | example002 () |
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 |
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.
int example002 | ( | ) |
References fc::TransferStats::ackPacketsReceived, fc::TransferStats::bitsPerSecondAverageTransferRate, fc::TransferStats::bitsPerSecondImmediateTransferRate, fc::TransferStats::blocksCompleted, fc::TransferStats::blockSize, fc::TransferStats::blocksRemaining, fc::Control::connect(), fc::TransferStats::dataPacketsReceived, fc::Exception::display(), fc::Control::download(), fc::TransferStats::duplicatePacketDropped, fc::TransferStats::echoPacketsReceived, fc::TransferStats::encryptionThreadStarved, fc::TransferStats::fileReaderStarved, fc::formatBytesIEC(), fc::formatBytesSI(), fc::formatTimeDuration(), fc::formatTimeDuration2(), fc::formatTimeRecent(), fc::formatTimestamp2(), fc::formatTransferRate(), fc::formatTransferStatsEState(), fc::Name::full(), fc::Control::getMostRecentFileStats(), fc::kFastEthernet, fc::kUdp, fc::TransferStats::localFilename, fc::TransferStats::localMd5, fc::TransferStats::md5, fc::TransferStats::metricsPacketsReceived, fc::TransferStats::metricsPacketsSent, fc::TransferStats::multipleBlocksInAckNackState, fc::TransferStats::networkWriterStarved, fc::TransferStats::onTheFlyMd5Received, fc::TransferStats::packetLossEvent, fc::TransferStats::packetsReceived, fc::TransferStats::packetsSent, password, fc::TransferStats::payloadBytesExpected, fc::TransferStats::payloadBytesSkipped, fc::TransferStats::payloadBytesTransferred, fc::TransferStats::remoteFilename, fc::TransferStats::remoteMd5, fc::TransferStats::requestRetransmit, serverIP, fc::Options::setBandwidth(), fc::Options::setFtpServer(), fc::Options::setMd5Verification(), fc::Options::setMode(), fc::Options::setOverwrite(), fc::Options::setTransferResume(), fc::Options::setUsernameAndPassword(), stats, fc::TransferStats::target_local_filename(), fc::TransferStats::target_remote_filename(), fc::TransferStats::timeRemaining, fc::TransferStats::timeTransferBegan, fc::TransferStats::timeTransferFinished, fc::TransferStats::transfer, fc::TransferStats::type, fc::TransferStats::unitSize, and username.
int main | ( | int | argc, |
char * | argv[] | ||
) |
const std::string username = TEST_USER |
const std::string password = TEST_PASS |
const std::string serverIP = TEST_SERVER |