Functions | |
int | example003 () |
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 |
Very simple example of uploading a file using fc::Control::upload().
int example003 | ( | ) |
References fc::Control::connect(), fc::Exception::display(), fc::Options::getStr(), fc::kTcp, password, serverIP, fc::Options::setFtpServer(), fc::Options::setMode(), fc::Options::setUsernameAndPassword(), fc::Control::upload(), 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 |