Getting started with fc::Control and fc::Options. More...
Functions | |
int | example001 (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 |
Getting started with fc::Control and fc::Options.
This includes several simple tasks such as directory listings using fc::Control::getDirectoryListing() and MD5 checksums with fc::Control::getFileMD5(). Does not show how to transfer a file.
int example001 | ( | void | ) |
References fc::Control::changeDirectory(), fc::Control::connect(), fc::Control::disconnect(), fc::Exception::display(), fc::Control::download(), fc::Control::getCurrentDirectory(), fc::Control::getDirectoryListing(), fc::Control::getFileMD5(), fc::Control::getFileModificationTime(), fc::Control::getFileSize(), fc::Control::isConnected(), fc::Control::isFileCatalystServer(), fc::Control::isLoggedIn(), fc::Control::makeDirectory(), password, fc::Control::removeDirectory(), serverIP, fc::Options::setFtpServer(), fc::Options::setUsernameAndPassword(), 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 |