vfs: check userland buffers before reading them.
[haiku.git] / src / apps / codycam / FileUploadClient.cpp
blob0a0426947c0200bd97ad12f8fcfd8f61b64a9a1e
1 #include "FileUploadClient.h"
3 FileUploadClient::FileUploadClient()
8 FileUploadClient::~FileUploadClient()
13 bool
14 FileUploadClient::ChangeDir(const string& dir)
16 bool rc = false;
17 return rc;
21 bool
22 FileUploadClient::ListDirContents(string& listing)
24 bool rc = false;
25 return rc;
29 bool
30 FileUploadClient::PrintWorkingDir(string& dir)
32 bool rc = false;
33 return rc;
37 bool
38 FileUploadClient::Connect(const string& server, const string& login, const string& passwd)
40 bool rc = false;
41 return rc;
45 bool
46 FileUploadClient::PutFile(const string& local, const string& remote, ftp_mode mode)
48 bool rc = false;
49 return rc;
53 bool
54 FileUploadClient::GetFile(const string& remote, const string& local, ftp_mode mode)
56 bool rc = false;
57 return rc;
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)
66 bool rc = false;
67 return rc;
71 bool
72 FileUploadClient::Chmod(const string& path, const string& mod)
74 bool rc = false;
75 return rc;
79 void
80 FileUploadClient::SetPassive(bool on)