#include <fsFtpConnection.h>

Public Member Functions | |
| fsInternetResult | Connect (LPCSTR pszServer, LPCSTR pszUser, LPCSTR pszPassword, INTERNET_PORT nPort=INTERNET_DEFAULT_FTP_PORT) |
| void | UsePassiveMode (BOOL bUse) |
| BOOL | IsPassiveMode () |
| fsInternetResult | SetCurrentDirectory (LPCSTR pszDir) |
| fsFtpConnection () | |
| virtual | ~fsFtpConnection () |
| fsInternetResult | Connect (LPCSTR pszServer, LPCSTR pszUser, LPCSTR pszPassword, INTERNET_PORT nPort=INTERNET_DEFAULT_FTP_PORT) |
| void | UsePassiveMode (BOOL bUse) |
| BOOL | IsPassiveMode () |
| fsInternetResult | SetCurrentDirectory (LPCSTR pszDir) |
| fsFtpConnection () | |
| virtual | ~fsFtpConnection () |
Protected Member Functions | |
| void | ReceiveExtError () |
| void | ReceiveExtError () |
Protected Attributes | |
| BOOL | m_bPassiveMode |
Definition at line 15 of file fsFtpConnection.h.
| fsFtpConnection::fsFtpConnection | ( | ) |
| fsFtpConnection::~fsFtpConnection | ( | ) | [virtual] |
Definition at line 17 of file fsFtpConnection.cpp.
| fsFtpConnection::fsFtpConnection | ( | ) |
| virtual fsFtpConnection::~fsFtpConnection | ( | ) | [virtual] |
| fsInternetResult fsFtpConnection::Connect | ( | LPCSTR | pszServer, | |
| LPCSTR | pszUser, | |||
| LPCSTR | pszPassword, | |||
| INTERNET_PORT | nPort = INTERNET_DEFAULT_FTP_PORT | |||
| ) | [virtual] |
Reimplemented from fsInternetServerConnection.
Definition at line 22 of file fsFtpConnection.cpp.
References fsSpeaking::DialogFtpResponse(), fsWinInetErrorToIR(), fsInternetSession::GetHandle(), INTERNET_FLAG_PASSIVE, INTERNET_SERVICE_FTP, InternetCloseHandle(), InternetConnect, IR_EXTERROR, IR_NOTINITIALIZED, IR_SUCCESS, m_bPassiveMode, fsInternetServerConnection::m_hServer, fsInternetServerConnection::m_pSession, fsInternetServerConnection::m_strServer, fsInternetServerConnection::m_uPort, NULL, and ReceiveExtError().
| void fsFtpConnection::UsePassiveMode | ( | BOOL | bUse | ) |
Definition at line 59 of file fsFtpConnection.cpp.
References m_bPassiveMode.
Referenced by fsInternetURLServer::UseFtpPassiveMode(), and fsInternetURLFile::UseFtpPassiveMode().
| BOOL fsFtpConnection::IsPassiveMode | ( | ) |
| fsInternetResult fsFtpConnection::SetCurrentDirectory | ( | LPCSTR | pszDir | ) |
Definition at line 80 of file fsFtpConnection.cpp.
References fsSpeaking::Dialog(), fsSpeaking::DialogFtpResponse(), fsWinInetErrorToIR(), FtpSetCurrentDirectory, IFDD_TOSERVER, IR_EXTERROR, IR_SUCCESS, fsInternetServerConnection::m_hServer, and ReceiveExtError().
Referenced by fsFtpFiles::GetList().
| void fsFtpConnection::ReceiveExtError | ( | ) | [protected] |
Definition at line 64 of file fsFtpConnection.cpp.
References fsnew, fsInternetServerConnection::GetLastError(), InternetGetLastResponseInfo, fsInternetServerConnection::m_pszLastError, NULL, and SAFE_DELETE_ARRAY.
Referenced by Connect(), and SetCurrentDirectory().
| fsInternetResult fsFtpConnection::Connect | ( | LPCSTR | pszServer, | |
| LPCSTR | pszUser, | |||
| LPCSTR | pszPassword, | |||
| INTERNET_PORT | nPort = INTERNET_DEFAULT_FTP_PORT | |||
| ) | [virtual] |
Reimplemented from fsInternetServerConnection.
| void fsFtpConnection::UsePassiveMode | ( | BOOL | bUse | ) |
| BOOL fsFtpConnection::IsPassiveMode | ( | ) |
| fsInternetResult fsFtpConnection::SetCurrentDirectory | ( | LPCSTR | pszDir | ) |
| void fsFtpConnection::ReceiveExtError | ( | ) | [protected] |
BOOL fsFtpConnection::m_bPassiveMode [protected] |
Definition at line 36 of file fsFtpConnection.h.
Referenced by Connect(), fsFtpConnection(), IsPassiveMode(), and UsePassiveMode().
1.5.6