1 #include "FileUploadClient.h"
3 FileUploadClient::FileUploadClient()
8 FileUploadClient::~FileUploadClient()
14 FileUploadClient::ChangeDir(const string
& dir
)
22 FileUploadClient::ListDirContents(string
& listing
)
30 FileUploadClient::PrintWorkingDir(string
& dir
)
38 FileUploadClient::Connect(const string
& server
, const string
& login
, const string
& passwd
)
46 FileUploadClient::PutFile(const string
& local
, const string
& remote
, ftp_mode mode
)
54 FileUploadClient::GetFile(const string
& remote
, const string
& local
, ftp_mode mode
)
61 // Note: this only works for local remote moves, cross filesystem moves
64 FileUploadClient::MoveFile(const string
& oldPath
, const string
& newPath
)
72 FileUploadClient::Chmod(const string
& path
, const string
& mod
)
80 FileUploadClient::SetPassive(bool on
)