The SWORD Project
1.9.0.svnversion
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
ftplibftpt.h
Go to the documentation of this file.
1
/******************************************************************************
2
*
3
* ftplibftpt.h - Implementation of FTP RemoteTransport using FTPLib
4
*
5
* $Id: ftplibftpt.h 3786 2020-08-30 11:35:14Z scribe $
6
*
7
* Copyright 2004-2013 CrossWire Bible Society (http://www.crosswire.org)
8
* CrossWire Bible Society
9
* P. O. Box 2528
10
* Tempe, AZ 85280-2528
11
*
12
* This program is free software; you can redistribute it and/or modify it
13
* under the terms of the GNU General Public License as published by the
14
* Free Software Foundation version 2.
15
*
16
* This program is distributed in the hope that it will be useful, but
17
* WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19
* General Public License for more details.
20
*
21
*/
22
23
#ifndef FTPLIBFTPT_H
24
#define FTPLIBFTPT_H
25
26
#include <
defs.h
>
27
#include <
remotetrans.h
>
28
29
typedef
struct
NetBuf
netbuf
;
30
31
SWORD_NAMESPACE_START
32
33
34
class
SWDLLEXPORT
FTPLibFTPTransport
:
public
RemoteTransport
{
35
netbuf
*
ftpConnection
;
36
37
char
assureLoggedIn();
38
39
public
:
40
FTPLibFTPTransport
(
const
char
*host,
StatusReporter
*
statusReporter
= 0);
41
~
FTPLibFTPTransport
();
42
char
getURL
(
const
char
*destPath,
const
char
*sourceURL,
SWBuf
*destBuf = 0);
43
};
44
45
46
SWORD_NAMESPACE_END
47
48
#endif
SWORD_NAMESPACE_START
#define SWORD_NAMESPACE_START
Definition:
defs.h:39
NetBuf
Definition:
ftplib.c:123
SWBuf
Definition:
swbuf.h:47
SWDLLEXPORT
#define SWDLLEXPORT
Definition:
defs.h:171
RemoteTransport::getURL
virtual char getURL(const char *destPath, const char *sourceURL, SWBuf *destBuf=0)
Definition:
remotetrans.cpp:78
statusReporter
StatusReporter * statusReporter
Definition:
installmgr.cpp:48
defs.h
RemoteTransport
Definition:
remotetrans.h:56
FTPLibFTPTransport::ftpConnection
netbuf * ftpConnection
Definition:
ftplibftpt.h:35
StatusReporter
Definition:
remotetrans.h:36
remotetrans.h
FTPLibFTPTransport
Definition:
ftplibftpt.h:34
SWORD_NAMESPACE_END
#define SWORD_NAMESPACE_END
Definition:
defs.h:40
include
ftplibftpt.h
Generated by
1.8.5