|
#ifndef __ftpSite_h__
#define __ftpSite_h__
#include <CeDb.h>
//
// Database fields added
//
enum
{
SITE_NAME = 12,
SITE_ADDRESS = 13,
SITE_USER = 14,
SITE_PASSWORD = 15,
SITE_ANONYMOUS = 16,
SITE_PASSIVE = 17,
SITE_MODIFYDATE = 18,
};
class CeFtpSite
{
public:
CeFtpSite();
CeFtpSite(CeDbRecord& rec);
CeString m_strName;
CeString m_strAddress;
CeString m_strUser;
CeString m_strPassword;
BOOL m_bAnon;
BOOL m_bPassive;
bool Find(LPCTSTR lpszName);
bool Update();
bool Rename(LPCTSTR lpszNew)
{ return Rename(m_strName, lpszNew); }
bool Remove()
{ return Remove(m_strName); }
static bool Rename(LPCTSTR lpszOld, LPCTSTR lpszNew);
static bool Remove(LPCTSTR lpsz);
static bool Open(CeDb& db);
};
#endif // __ftpSite_h__
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.