The Sword Project: ftplibftpt.h Source File |
00001 #ifndef FTPLIBFTPT_H 00002 #define FTPLIBFTPT_H 00003 00004 #include <defs.h> 00005 #include <ftptrans.h> 00006 00007 typedef struct NetBuf netbuf; 00008 00009 SWORD_NAMESPACE_START 00010 00011 00012 // initialize/cleanup SYSTEMWIDE library with life of this static. 00013 class FTPLibFTPTransport_init { 00014 public: 00015 FTPLibFTPTransport_init(); 00016 ~FTPLibFTPTransport_init(); 00017 }; 00018 00019 00020 class SWDLLEXPORT FTPLibFTPTransport : public FTPTransport { 00021 netbuf *ftpConnection; 00022 00023 char assureLoggedIn(); 00024 00025 public: 00026 FTPLibFTPTransport(const char *host, StatusReporter *statusReporter = 0); 00027 ~FTPLibFTPTransport(); 00028 char getURL(const char *destPath, const char *sourceURL, SWBuf *destBuf = 0); 00029 }; 00030 00031 00032 SWORD_NAMESPACE_END 00033 00034 #endif
The SWORD Project; P. O. Box 2528; Tempe, AZ 85280-2528 USA |