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