FtpClient.h
Go to the documentation of this file.
void error(char *format,...)
Definition: Client.h:35
Definition: CommCalls.h:128
Definition: CommCalls.h:105
Definition: CommCalls.h:114
Definition: CommCalls.h:134
interface for supplying additional information about a transaction failure
Definition: Detail.h:21
Definition: errorpage.h:89
Definition: FtpClient.h:44
void close()
planned close: removes the close handler and calls comm_close
Definition: FtpClient.cc:107
void opened(const Comm::ConnectionPointer &conn, const AsyncCall::Pointer &aCloser)
called after the socket is opened, sets up close handler
Definition: FtpClient.cc:90
FTP client functionality shared among FTP Gateway and Relay clients.
Definition: FtpClient.h:111
virtual Http::StatusCode failedHttpStatus(err_type &error)
Definition: FtpClient.cc:311
bool handleEpsvReply(Ip::Address &remoteAddr)
Definition: FtpClient.cc:491
void scheduleReadControlReply(int buffered_ok)
Definition: FtpClient.cc:325
void sentRequestBody(const CommIoCbParams &io) override
Definition: FtpClient.cc:1076
bool handlePasvReply(Ip::Address &remoteAddr)
Definition: FtpClient.cc:455
void switchTimeoutToDataChannel()
Definition: FtpClient.cc:1065
enum Ftp::Client::@38 ftp_state_t
void writeCommandCallback(const CommIoCbParams &io)
Definition: FtpClient.cc:855
void readControlReply(const CommIoCbParams &io)
Definition: FtpClient.cc:362
void doneSendingRequestBody() override
Definition: FtpClient.cc:1087
const Comm::ConnectionPointer & dataConnection() const override
Definition: FtpClient.cc:902
virtual void failed(err_type error=ERR_NONE, int xerrno=0, ErrorState *ftperr=nullptr)
handle a fatal transaction error, closing the control connection
Definition: FtpClient.cc:262
bool parseControlReply(size_t &bytesUsed)
Definition: FtpClient.cc:1101
AsyncCall::Pointer dataCloser()
creates a data channel Comm close callback
Definition: FtpClient.cc:802
void ctrlClosed(const CommCloseCbParams &io)
handler called by Comm when FTP control channel is closed unexpectedly
Definition: FtpClient.cc:879
virtual void dataChannelConnected(const CommConnectCbParams &io)=0
CBDATA_INTERMEDIATE()
void abortAll(const char *reason) override
abnormal transaction termination; reason is for debugging only
Definition: FtpClient.cc:1053
virtual void dataClosed(const CommCloseCbParams &io)
handler called by Comm when FTP data channel is closed unexpectedly
Definition: FtpClient.cc:810
void noteDelayAwareReadChance() override
Definition: FtpClient.cc:908
Definition: FtpClient.h:74
CtrlChannel(const CtrlChannel &)
CtrlChannel & operator=(const CtrlChannel &)
Definition: FtpClient.h:95
Definition: FtpClient.h:27
MEMPROXY_CLASS(Ftp::ErrorDetail)
SBuf verbose(const HttpRequestPointer &) const override
Definition: FtpClient.cc:81
Definition: FwdState.h:53
Definition: Address.h:41
Definition: MemBuf.h:24
Definition: SquidString.h:26
Definition: wordlist.h:20
Definition: forward.h:24