1 #include "FileUploadClient.h" 2 3 FileUploadClient::FileUploadClient() 4 { 5 } 6 7 8 FileUploadClient::~FileUploadClient() 9 { 10 } 11 12 13 bool 14 FileUploadClient::ChangeDir(const string& dir) 15 { 16 bool rc = false; 17 return rc; 18 } 19 20 21 bool 22 FileUploadClient::ListDirContents(string& listing) 23 { 24 bool rc = false; 25 return rc; 26 } 27 28 29 bool 30 FileUploadClient::PrintWorkingDir(string& dir) 31 { 32 bool rc = false; 33 return rc; 34 } 35 36 37 bool 38 FileUploadClient::Connect(const string& server, const string& login, const string& passwd) 39 { 40 bool rc = false; 41 return rc; 42 } 43 44 45 bool 46 FileUploadClient::PutFile(const string& local, const string& remote, ftp_mode mode) 47 { 48 bool rc = false; 49 return rc; 50 } 51 52 53 bool 54 FileUploadClient::GetFile(const string& remote, const string& local, ftp_mode mode) 55 { 56 bool rc = false; 57 return rc; 58 } 59 60 61 // Note: this only works for local remote moves, cross filesystem moves 62 // will not work 63 bool 64 FileUploadClient::MoveFile(const string& oldPath, const string& newPath) 65 { 66 bool rc = false; 67 return rc; 68 } 69 70 71 bool 72 FileUploadClient::Chmod(const string& path, const string& mod) 73 { 74 bool rc = false; 75 return rc; 76 } 77 78 79 void 80 FileUploadClient::SetPassive(bool on) 81 { 82 } 83 84 85