![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cFtpClient.h>
Public Member Functions | |
| cFtpClient (cStream *pStream=nullptr) | |
| virtual | ~cFtpClient () |
| virtual cStringA | get_ConnectName () const override |
| get a debug name for the connection. More... | |
| virtual HRESULT | Connect (const FILECHAR_t *pszURL) override |
| virtual HRESULT | RequestFile (const FILECHAR_t *pszSrcName, const FILECHAR_t *pszDestPath, IStreamProgressCallback *pProgress, FILE_SIZE_t nOffsetStart, FILE_SIZE_t *pnRequestSizeEst) override |
| virtual HRESULT | SendFile (const FILECHAR_t *pszSrcPath, const FILECHAR_t *pszDestName, IStreamProgressCallback *pProgress, FILE_SIZE_t nOffsetStart, FILE_SIZE_t nSize) override |
| UNITTEST_FRIEND (cFtpClient) | |
Public Member Functions inherited from Gray::IFileCopier | |
| virtual | ~ IFileCopier () |
| virtual HRESULT | SendAttr (const FILECHAR_t *pszDestName, cTimeFile timeChanged) |
Public Attributes | |
| cStream * | m_pStream |
| the stream to/from the FTP server control/command socket. probably a cNetSocket. More... | |
| cStringA | m_sPathPrefix |
| HTTP_DIRSEP. More... | |
| cNetSocket | m_SocketData |
| the data connection. (PASV) More... | |
Move files to/from a FTP server connection.
| GrayLib::cFtpClient::cFtpClient | ( | cStream * | pStream = nullptr | ) |
|
virtual |
|
overridevirtual |
IFileCopier Path prefix must start with '/'
Reimplemented from Gray::IFileCopier.
|
overridevirtual |
get a debug name for the connection.
IFileCopier get a debug name for the connection.
Implements Gray::IFileCopier.
|
overridevirtual |
IFileCopier Issue a request to the Ftp server for the file.
Reimplemented from Gray::IFileCopier.
|
overridevirtual |
IFileCopier Send a file to the server side.
Reimplemented from Gray::IFileCopier.
| GrayLib::cFtpClient::UNITTEST_FRIEND | ( | cFtpClient | ) |
| cStream* GrayLib::cFtpClient::m_pStream |
the stream to/from the FTP server control/command socket. probably a cNetSocket.
| cNetSocket GrayLib::cFtpClient::m_SocketData |
the data connection. (PASV)
| cStringA GrayLib::cFtpClient::m_sPathPrefix |
HTTP_DIRSEP.