xref: /haiku/src/apps/codycam/FileUploadClient.cpp (revision 6a739773fceb43d72a2314eafb465d301ae36310)
1*6a739773SCodeforEvolution /*
2*6a739773SCodeforEvolution  * Copyright 1998-1999 Be, Inc. All Rights Reserved.
3*6a739773SCodeforEvolution  * Copyright 2003-2019 Haiku, Inc. All rights reserved.
4*6a739773SCodeforEvolution  * Distributed under the terms of the MIT License.
5*6a739773SCodeforEvolution  */
6*6a739773SCodeforEvolution 
7*6a739773SCodeforEvolution 
889740c78SFrançois Revol #include "FileUploadClient.h"
989740c78SFrançois Revol 
10*6a739773SCodeforEvolution 
FileUploadClient()1189740c78SFrançois Revol FileUploadClient::FileUploadClient()
1289740c78SFrançois Revol {
1389740c78SFrançois Revol }
1489740c78SFrançois Revol 
1589740c78SFrançois Revol 
~FileUploadClient()1689740c78SFrançois Revol FileUploadClient::~FileUploadClient()
1789740c78SFrançois Revol {
1889740c78SFrançois Revol }
1989740c78SFrançois Revol 
2089740c78SFrançois Revol 
2189740c78SFrançois Revol bool
ChangeDir(const string & dir)2289740c78SFrançois Revol FileUploadClient::ChangeDir(const string& dir)
2389740c78SFrançois Revol {
24*6a739773SCodeforEvolution 	return false;
2589740c78SFrançois Revol }
2689740c78SFrançois Revol 
2789740c78SFrançois Revol 
2889740c78SFrançois Revol bool
ListDirContents(string & listing)2989740c78SFrançois Revol FileUploadClient::ListDirContents(string& listing)
3089740c78SFrançois Revol {
31*6a739773SCodeforEvolution 	return false;
3289740c78SFrançois Revol }
3389740c78SFrançois Revol 
3489740c78SFrançois Revol 
3589740c78SFrançois Revol bool
PrintWorkingDir(string & dir)3689740c78SFrançois Revol FileUploadClient::PrintWorkingDir(string& dir)
3789740c78SFrançois Revol {
38*6a739773SCodeforEvolution 	return false;
3989740c78SFrançois Revol }
4089740c78SFrançois Revol 
4189740c78SFrançois Revol 
4289740c78SFrançois Revol bool
Connect(const string & server,const string & login,const string & passwd)43*6a739773SCodeforEvolution FileUploadClient::Connect(const string& server, const string& login,
44*6a739773SCodeforEvolution 	const string& passwd)
4589740c78SFrançois Revol {
46*6a739773SCodeforEvolution 	return false;
4789740c78SFrançois Revol }
4889740c78SFrançois Revol 
4989740c78SFrançois Revol 
5089740c78SFrançois Revol bool
PutFile(const string & local,const string & remote,ftp_mode mode)51*6a739773SCodeforEvolution FileUploadClient::PutFile(const string& local, const string& remote,
52*6a739773SCodeforEvolution 	ftp_mode mode)
5389740c78SFrançois Revol {
54*6a739773SCodeforEvolution 	return false;
5589740c78SFrançois Revol }
5689740c78SFrançois Revol 
5789740c78SFrançois Revol 
5889740c78SFrançois Revol bool
GetFile(const string & remote,const string & local,ftp_mode mode)59*6a739773SCodeforEvolution FileUploadClient::GetFile(const string& remote, const string& local,
60*6a739773SCodeforEvolution 	ftp_mode mode)
6189740c78SFrançois Revol {
62*6a739773SCodeforEvolution 	return false;
6389740c78SFrançois Revol }
6489740c78SFrançois Revol 
6589740c78SFrançois Revol 
6689740c78SFrançois Revol // Note: this only works for local remote moves, cross filesystem moves
6789740c78SFrançois Revol // will not work
6889740c78SFrançois Revol bool
MoveFile(const string & oldPath,const string & newPath)6989740c78SFrançois Revol FileUploadClient::MoveFile(const string& oldPath, const string& newPath)
7089740c78SFrançois Revol {
71*6a739773SCodeforEvolution 	return false;
7289740c78SFrançois Revol }
7389740c78SFrançois Revol 
7489740c78SFrançois Revol 
7589740c78SFrançois Revol bool
Chmod(const string & path,const string & mod)7689740c78SFrançois Revol FileUploadClient::Chmod(const string& path, const string& mod)
7789740c78SFrançois Revol {
78*6a739773SCodeforEvolution 	return false;
7989740c78SFrançois Revol }
8089740c78SFrançois Revol 
8189740c78SFrançois Revol 
8289740c78SFrançois Revol void
SetPassive(bool on)8389740c78SFrançois Revol FileUploadClient::SetPassive(bool on)
8489740c78SFrançois Revol {
8589740c78SFrançois Revol }
86