#include "squid.h"
#include "acl/FilledChecklist.h"
#include "base/PackableStream.h"
#include "clients/forward.h"
#include "clients/FtpClient.h"
#include "comm.h"
#include "comm/ConnOpener.h"
#include "comm/Read.h"
#include "comm/TcpAcceptor.h"
#include "CommCalls.h"
#include "compat/strtoll.h"
#include "errorpage.h"
#include "fd.h"
#include "fde.h"
#include "FwdState.h"
#include "html/Quoting.h"
#include "HttpHdrContRange.h"
#include "HttpHeader.h"
#include "HttpHeaderRange.h"
#include "HttpReply.h"
#include "ip/tools.h"
#include "MemBuf.h"
#include "mime.h"
#include "rfc1738.h"
#include "SquidConfig.h"
#include "SquidString.h"
#include "StatCounters.h"
#include "Store.h"
#include "tools.h"
#include "util.h"
#include "wordlist.h"
#include "DelayPools.h"
#include "MemObject.h"
#include <cerrno>
Go to the source code of this file.
Classes | |
struct | Ftp::GatewayFlags |
class | Ftp::Gateway |
struct | ftpListParts |
Namespaces | |
namespace | Ftp |
Macros | |
#define | CTRL_BUFLEN 16*1024 |
#define | MAX_TOKENS 64 |
Typedefs | |
typedef void() | Ftp::StateMethod(Ftp::Gateway *) |
typedef Ftp::StateMethod | FTPSM |
Functions | |
CBDATA_NAMESPACED_CLASS_INIT (Ftp, Gateway) | |
static int | is_month (const char *buf) |
static void | ftpListPartsFree (ftpListParts **parts) |
static ftpListParts * | ftpListParseParts (const char *buf, struct Ftp::GatewayFlags flags) |
static void | ftpReadWelcome (Ftp::Gateway *ftpState) |
static void | ftpSendUser (Ftp::Gateway *ftpState) |
static void | ftpReadUser (Ftp::Gateway *ftpState) |
static void | ftpSendPass (Ftp::Gateway *ftpState) |
static void | ftpReadPass (Ftp::Gateway *ftpState) |
static void | ftpSendType (Ftp::Gateway *ftpState) |
static void | ftpReadType (Ftp::Gateway *ftpState) |
static void | ftpTraverseDirectory (Ftp::Gateway *ftpState) |
static void | ftpSendCwd (Ftp::Gateway *ftpState) |
static void | ftpReadCwd (Ftp::Gateway *ftpState) |
static void | ftpSendMkdir (Ftp::Gateway *ftpState) |
static void | ftpReadMkdir (Ftp::Gateway *ftpState) |
static void | ftpGetFile (Ftp::Gateway *ftpState) |
static void | ftpListDir (Ftp::Gateway *ftpState) |
static void | ftpSendMdtm (Ftp::Gateway *ftpState) |
static void | ftpReadMdtm (Ftp::Gateway *ftpState) |
static void | ftpSendSize (Ftp::Gateway *ftpState) |
static void | ftpReadSize (Ftp::Gateway *ftpState) |
static void | ftpReadEPSV (Ftp::Gateway *ftpState) |
static void | ftpSendPassive (Ftp::Gateway *ftpState) |
static void | ftpReadPasv (Ftp::Gateway *ftpState) |
static void | ftpOpenListenSocket (Ftp::Gateway *ftpState, int fallback) |
static void | ftpSendPORT (Ftp::Gateway *ftpState) |
static void | ftpReadPORT (Ftp::Gateway *ftpState) |
static void | ftpReadEPRT (Ftp::Gateway *ftpState) |
static void | ftpRestOrList (Ftp::Gateway *ftpState) |
static void | ftpSendStor (Ftp::Gateway *ftpState) |
static void | ftpReadStor (Ftp::Gateway *ftpState) |
static void | ftpSendRest (Ftp::Gateway *ftpState) |
static void | ftpReadRest (Ftp::Gateway *ftpState) |
static void | ftpSendList (Ftp::Gateway *ftpState) |
static void | ftpSendNlst (Ftp::Gateway *ftpState) |
static void | ftpReadList (Ftp::Gateway *ftpState) |
static void | ftpSendRetr (Ftp::Gateway *ftpState) |
static void | ftpReadRetr (Ftp::Gateway *ftpState) |
static void | ftpReadTransferDone (Ftp::Gateway *ftpState) |
static void | ftpWriteTransferDone (Ftp::Gateway *ftpState) |
static void | ftpSendQuit (Ftp::Gateway *ftpState) |
static void | ftpReadQuit (Ftp::Gateway *ftpState) |
static void | ftpTrySlashHack (Ftp::Gateway *ftpState) |
static void | ftpFail (Ftp::Gateway *ftpState) |
static void | ftpSendReply (Ftp::Gateway *ftpState) |
Macro Definition Documentation
◆ CTRL_BUFLEN
#define CTRL_BUFLEN 16*1024 |
Definition at line 192 of file FtpGateway.cc.
◆ MAX_TOKENS
#define MAX_TOKENS 64 |
Definition at line 523 of file FtpGateway.cc.
Typedef Documentation
◆ FTPSM
typedef Ftp::StateMethod FTPSM |
Definition at line 179 of file FtpGateway.cc.
Function Documentation
◆ CBDATA_NAMESPACED_CLASS_INIT()
CBDATA_NAMESPACED_CLASS_INIT | ( | Ftp | , |
Gateway | |||
) |
◆ ftpFail()
|
static |
Definition at line 2358 of file FtpGateway.cc.
References FwdState::al, code, Ftp::Client::ctrl, debugs, Client::entry, ERR_NONE, Ftp::Client::failed(), Ftp::Gateway::failedHttpStatus(), Ftp::Gateway::flags, ftpSendQuit, ftpTrySlashHack(), Client::fwd, Ftp::Gateway::hackShortcut(), Ftp::GatewayFlags::isdir, Ftp::Gateway::mdtm, AnyP::Uri::path(), StoreEntry::replaceHttpReply(), Ftp::CtrlChannel::replycode, Client::request, FwdState::request, sc, Ftp::Client::SENT_CWD, Ftp::Client::SENT_RETR, Ftp::Client::state, Ftp::Gateway::theSize, Ftp::GatewayFlags::try_slash_hack, and HttpRequest::url.
◆ ftpGetFile()
|
static |
Definition at line 1546 of file FtpGateway.cc.
References assert, Ftp::Gateway::filepath, Ftp::Gateway::flags, ftpSendMdtm, and Ftp::GatewayFlags::isdir.
◆ ftpListDir()
|
static |
Definition at line 1554 of file FtpGateway.cc.
References String::append(), debugs, Ftp::GatewayFlags::dir_slash, Ftp::Gateway::flags, ftpSendPassive, Ftp::GatewayFlags::isdir, and Ftp::Gateway::title_url.
◆ ftpListParseParts()
|
static |
< token image copied from the received line
< token offset on the received line
Definition at line 526 of file FtpGateway.cc.
References assert, ftpListParts::date, ftpListPartsFree(), is_month(), ftpListParts::link, MAX_TOKENS, ftpListParts::name, safe_free, ftpListParts::size, size, Ftp::GatewayFlags::skip_whitespace, strtoll(), tok::token, tokens, Ftp::GatewayFlags::tried_nlst, ftpListParts::type, w_space, xcalloc(), xfree, xstrdup, and xstrndup().
Referenced by Ftp::Gateway::htmlifyListEntry().
◆ ftpListPartsFree()
|
static |
Definition at line 514 of file FtpGateway.cc.
References safe_free.
Referenced by ftpListParseParts(), and Ftp::Gateway::htmlifyListEntry().
◆ ftpOpenListenSocket()
|
static |
Close old data channels, if any. We may open a new one below.
Definition at line 1744 of file FtpGateway.cc.
References Ftp::Channel::clear(), Ftp::Channel::close(), COMM_REUSEADDR, Ftp::Channel::conn, Ftp::Client::ctrl, Ftp::Client::data, debugs, Comm::Connection::fd, Comm::Connection::flags, Ftp::DataChannel::host, Comm::IsConnOpen(), Ftp::Gateway::listenForDataChannel(), Comm::Connection::local, Ip::Address::port(), safe_free, and xstrerr().
Referenced by ftpReadPORT(), and ftpSendPORT().
◆ ftpReadCwd()
|
static |
Definition at line 1479 of file FtpGateway.cc.
References String::append(), code, Ftp::Client::ctrl, Ftp::Gateway::cwd_message, debugs, Ftp::Gateway::flags, ftpFail, ftpSendMkdir, ftpTraverseDirectory, Ftp::CtrlChannel::message, MYNAME, wordlist::next, Ftp::GatewayFlags::put, Ftp::CtrlChannel::replycode, String::reset(), and Ftp::Gateway::unhack().
◆ ftpReadEPRT()
|
static |
Definition at line 1853 of file FtpGateway.cc.
References code, Ftp::Client::ctrl, debugs, ftpRestOrList, ftpSendPORT, MYNAME, and Ftp::CtrlChannel::replycode.
◆ ftpReadEPSV()
|
static |
Definition at line 1641 of file FtpGateway.cc.
References Ftp::Client::connectDataChannel(), Ftp::Client::ctrl, Ftp::Client::handleEpsvReply(), and Ftp::CtrlChannel::message.
◆ ftpReadList()
|
static |
Definition at line 2140 of file FtpGateway.cc.
References code, Ftp::Channel::conn, Ftp::Client::ctrl, Ftp::Client::data, debugs, Ftp::Gateway::flags, ftpFail, ftpSendNlst, Comm::IsConnOpen(), Ftp::Gateway::listenForDataChannel(), Comm::Connection::local, Ftp::Client::maybeReadVirginBody(), MYNAME, Ftp::Client::READING_DATA, Comm::Connection::remote, Ftp::CtrlChannel::replycode, Ftp::Client::state, Ftp::Client::switchTimeoutToDataChannel(), and Ftp::GatewayFlags::tried_nlst.
◆ ftpReadMdtm()
|
static |
Definition at line 1579 of file FtpGateway.cc.
References code, Ftp::Client::ctrl, debugs, ftpFail, ftpSendSize, Ftp::CtrlChannel::last_reply, Ftp::Gateway::mdtm, MYNAME, Time::ParseIso3307(), Ftp::CtrlChannel::replycode, and Ftp::Gateway::unhack().
◆ ftpReadMkdir()
|
static |
Definition at line 1525 of file FtpGateway.cc.
References code, Ftp::Client::ctrl, debugs, Ftp::Gateway::filepath, Ftp::Gateway::flags, ftpSendCwd, ftpSendReply, Ftp::GatewayFlags::put_mkdir, and Ftp::CtrlChannel::replycode.
◆ ftpReadPass()
|
static |
Definition at line 1321 of file FtpGateway.cc.
References code, Ftp::Client::ctrl, debugs, ftpSendType, Ftp::Gateway::loginFailed(), and Ftp::CtrlChannel::replycode.
◆ ftpReadPasv()
|
static |
Definition at line 1708 of file FtpGateway.cc.
References Ftp::Client::connectDataChannel(), ftpFail, and Ftp::Client::handlePasvReply().
◆ ftpReadPORT()
|
static |
Definition at line 1838 of file FtpGateway.cc.
References code, Ftp::Client::ctrl, debugs, ftpOpenListenSocket(), ftpRestOrList, MYNAME, and Ftp::CtrlChannel::replycode.
◆ ftpReadQuit()
|
static |
Completes a client FTP operation with success or other page generated and stored in the entry field by the code issuing QUIT.
Definition at line 2289 of file FtpGateway.cc.
References Client::serverComplete().
◆ ftpReadRest()
|
static |
Definition at line 2081 of file FtpGateway.cc.
References assert, code, Ftp::Client::ctrl, debugs, Ftp::Gateway::flags, ftpFail, ftpSendRetr, MYNAME, Ftp::CtrlChannel::replycode, Ftp::GatewayFlags::rest_supported, Ftp::Gateway::restart_offset, and Ftp::Gateway::setCurrentOffset().
◆ ftpReadRetr()
|
static |
Definition at line 2181 of file FtpGateway.cc.
References code, Ftp::Channel::conn, Ftp::Client::ctrl, Ftp::Client::data, debugs, Ftp::Gateway::flags, ftpFail, ftpSendCwd, Ftp::Gateway::hackShortcut(), Comm::IsConnOpen(), Ftp::Gateway::listenForDataChannel(), Comm::Connection::local, Ftp::Client::maybeReadVirginBody(), MYNAME, Ftp::Client::READING_DATA, Comm::Connection::remote, Ftp::CtrlChannel::replycode, Ftp::Client::state, Ftp::Client::switchTimeoutToDataChannel(), and Ftp::GatewayFlags::try_slash_hack.
◆ ftpReadSize()
|
static |
Definition at line 1617 of file FtpGateway.cc.
References code, Ftp::Client::ctrl, debugs, ftpFail, ftpSendPassive, Ftp::CtrlChannel::last_reply, MYNAME, Ftp::CtrlChannel::replycode, strtoll(), Ftp::Gateway::theSize, Ftp::Gateway::title_url, and Ftp::Gateway::unhack().
◆ ftpReadStor()
|
static |
- Deprecated:
- use ftpState->readStor() instead.
Definition at line 1999 of file FtpGateway.cc.
References Ftp::Gateway::readStor().
◆ ftpReadTransferDone()
|
static |
Definition at line 2227 of file FtpGateway.cc.
References code, Ftp::Gateway::completedListing(), Ftp::Client::ctrl, DBG_IMPORTANT, debugs, ERR_FTP_FAILURE, Ftp::Client::failed(), Ftp::Gateway::flags, ftpSendQuit, Ftp::GatewayFlags::listing, Client::markParsedVirginReplyAsWhole(), MYNAME, and Ftp::CtrlChannel::replycode.
◆ ftpReadType()
|
static |
Definition at line 1383 of file FtpGateway.cc.
References code, Ftp::Client::ctrl, debugs, ftpFail, ftpListDir, ftpTraverseDirectory, AnyP::Uri::path(), Ftp::Gateway::pathcomps, Ftp::CtrlChannel::replycode, Client::request, rfc1738_unescape(), SBufToCstring(), HttpRequest::url, wordlistAdd(), and xfree.
◆ ftpReadUser()
|
static |
Definition at line 1294 of file FtpGateway.cc.
References code, Ftp::Client::ctrl, debugs, ftpReadPass, ftpSendPass, Ftp::Gateway::loginFailed(), MYNAME, and Ftp::CtrlChannel::replycode.
◆ ftpReadWelcome()
|
static |
Definition at line 1184 of file FtpGateway.cc.
References code, Ftp::Client::ctrl, DBG_IMPORTANT, debugs, Ftp::Gateway::flags, ftpFail, ftpSendUser, wordlist::key, Ftp::Gateway::login_att, Ftp::CtrlChannel::message, MYNAME, Ftp::GatewayFlags::pasv_only, Ftp::CtrlChannel::replycode, and Ftp::GatewayFlags::skip_whitespace.
◆ ftpRestOrList()
|
static |
Definition at line 1950 of file FtpGateway.cc.
References debugs, Ftp::Gateway::flags, ftpSendList, ftpSendMkdir, ftpSendNlst, ftpSendRest, ftpSendRetr, ftpSendStor, Ftp::GatewayFlags::isdir, MYNAME, Ftp::GatewayFlags::put, Ftp::Gateway::restartable(), and Ftp::Gateway::typecode.
◆ ftpSendCwd()
|
static |
Definition at line 1453 of file FtpGateway.cc.
References cbuf, CTRL_BUFLEN, debugs, Ftp::Gateway::filepath, Ftp::Gateway::flags, Ftp::Gateway::haveControlChannel(), MYNAME, Ftp::GatewayFlags::no_dotdot, Ftp::Client::SENT_CWD, Ftp::Client::state, and Ftp::Client::writeCommand().
◆ ftpSendList()
|
static |
Definition at line 2100 of file FtpGateway.cc.
References cbuf, CTRL_BUFLEN, debugs, Ftp::Gateway::filepath, Ftp::Gateway::haveControlChannel(), MYNAME, Ftp::Client::SENT_LIST, Ftp::Client::state, and Ftp::Client::writeCommand().
◆ ftpSendMdtm()
|
static |
Definition at line 1566 of file FtpGateway.cc.
References assert, cbuf, CTRL_BUFLEN, Ftp::Gateway::filepath, Ftp::Gateway::haveControlChannel(), Ftp::Client::SENT_MDTM, Ftp::Client::state, and Ftp::Client::writeCommand().
◆ ftpSendMkdir()
|
static |
Definition at line 1509 of file FtpGateway.cc.
References cbuf, CTRL_BUFLEN, debugs, Ftp::Gateway::filepath, Ftp::Gateway::haveControlChannel(), Ftp::Client::SENT_MKDIR, Ftp::Client::state, and Ftp::Client::writeCommand().
◆ ftpSendNlst()
|
static |
Definition at line 2119 of file FtpGateway.cc.
References cbuf, CTRL_BUFLEN, debugs, Ftp::Gateway::filepath, Ftp::Gateway::flags, Ftp::Gateway::haveControlChannel(), MYNAME, Ftp::Client::SENT_NLST, Ftp::Client::state, Ftp::GatewayFlags::tried_nlst, and Ftp::Client::writeCommand().
◆ ftpSendPass()
|
static |
Definition at line 1309 of file FtpGateway.cc.
References cbuf, CTRL_BUFLEN, Ftp::Gateway::haveControlChannel(), Ftp::Gateway::password, Ftp::Client::SENT_PASS, Ftp::Client::state, and Ftp::Client::writeCommand().
◆ ftpSendPassive()
|
static |
Send Passive connection request. Default method is to use modern EPSV request. The failover mechanism should check for previous state and re-call with alternates on failure.
Checks the server control channel is still available before running.
- Checks for 'HEAD' method request and passes off for special handling by Ftp::Gateway::processHeadResponse().
Definition at line 1657 of file FtpGateway.cc.
References debugs, Ftp::GatewayFlags::epsv_all_sent, Ftp::Gateway::flags, Ftp::Gateway::haveControlChannel(), Ftp::GatewayFlags::isdir, HttpRequest::method, Http::METHOD_HEAD, MYNAME, Ftp::Gateway::processHeadResponse(), Client::request, Ftp::Client::sendPassive(), Ftp::Client::SENT_EPSV_ALL, Ftp::Client::state, and Ftp::Gateway::theSize.
◆ ftpSendPORT()
|
static |
Definition at line 1792 of file FtpGateway.cc.
References cbuf, Config, CTRL_BUFLEN, Ftp::Client::data, DBG_IMPORTANT, debugs, SquidConfig::epsv_all, Ftp::GatewayFlags::epsv_all_sent, Ftp::Gateway::flags, Ip::Address::FreeAddr(), SquidConfig::Ftp, ftpFail, ftpOpenListenSocket(), ftpReadPORT, Ip::Address::getAddrInfo(), Ftp::Gateway::haveControlChannel(), Comm::IsConnOpen(), Ip::Address::isIPv4(), Ftp::Channel::listenConn, Comm::Connection::local, MYNAME, Ftp::GatewayFlags::pasv_supported, Ftp::Client::SENT_PORT, Ftp::Client::state, and Ftp::Client::writeCommand().
◆ ftpSendQuit()
|
static |
Definition at line 2274 of file FtpGateway.cc.
References cbuf, CTRL_BUFLEN, Ftp::Gateway::haveControlChannel(), Ftp::Client::SENT_QUIT, Ftp::Client::state, and Ftp::Client::writeCommand().
◆ ftpSendReply()
|
static |
Definition at line 2437 of file FtpGateway.cc.
References FwdState::al, ErrorState::BuildHttpReply(), cbdataReferenceValid(), code, Ftp::Client::ctrl, debugs, ErrorState::detailError(), Client::entry, ERR_FTP_PUT_CREATED, ERR_FTP_PUT_ERROR, ERR_FTP_PUT_MODIFIED, ERR_NONE, ErrorState::ftp, ftpSendQuit, Client::fwd, RefCount< C >::getRaw(), Ftp::CtrlChannel::last_command, Ftp::CtrlChannel::last_reply, Ftp::Gateway::mdtm, Ftp::Client::old_reply, Ftp::Client::old_request, StoreEntry::replaceHttpReply(), ErrorState::reply, Ftp::CtrlChannel::replycode, Client::request, ErrorState::request, Http::scAccepted, Http::scCreated, Http::scInternalServerError, StoreEntry::url(), and xstrdup.
◆ ftpSendRest()
|
static |
Definition at line 2040 of file FtpGateway.cc.
References cbuf, CTRL_BUFLEN, debugs, Ftp::Gateway::haveControlChannel(), MYNAME, PRId64, Ftp::Gateway::restart_offset, Ftp::Client::SENT_REST, Ftp::Client::state, and Ftp::Client::writeCommand().
◆ ftpSendRetr()
|
static |
Definition at line 2166 of file FtpGateway.cc.
References assert, cbuf, CTRL_BUFLEN, debugs, Ftp::Gateway::filepath, Ftp::Gateway::haveControlChannel(), MYNAME, Ftp::Client::SENT_RETR, Ftp::Client::state, and Ftp::Client::writeCommand().
◆ ftpSendSize()
|
static |
Definition at line 1596 of file FtpGateway.cc.
References assert, Ftp::GatewayFlags::binary, cbuf, CTRL_BUFLEN, Ftp::Gateway::filepath, Ftp::Gateway::flags, ftpSendPassive, Ftp::Gateway::haveControlChannel(), Ftp::Client::SENT_SIZE, Ftp::Client::state, and Ftp::Client::writeCommand().
◆ ftpSendStor()
|
static |
Definition at line 1973 of file FtpGateway.cc.
References cbuf, Http::CONTENT_LENGTH, CTRL_BUFLEN, debugs, Ftp::Gateway::filepath, ftpSendReply, HttpHeader::getInt64(), Ftp::Gateway::haveControlChannel(), Http::Message::header, MYNAME, Client::request, Ftp::Client::SENT_STOR, Ftp::Client::state, and Ftp::Client::writeCommand().
◆ ftpSendType()
|
static |
Definition at line 1334 of file FtpGateway.cc.
References Ftp::GatewayFlags::binary, SBuf::c_str(), cbuf, CTRL_BUFLEN, Ftp::Gateway::flags, Ftp::Gateway::haveControlChannel(), Ftp::GatewayFlags::isdir, mimeGetTransferMode(), SBuf::npos, AnyP::Uri::path(), Client::request, Ftp::Client::SENT_TYPE, Ftp::Client::state, Ftp::Gateway::typecode, HttpRequest::url, and Ftp::Client::writeCommand().
◆ ftpSendUser()
|
static |
Definition at line 1277 of file FtpGateway.cc.
References cbuf, CTRL_BUFLEN, Ftp::Gateway::haveControlChannel(), AnyP::Uri::host(), Ftp::Gateway::proxy_host, Client::request, Ftp::Client::SENT_USER, Ftp::Client::state, HttpRequest::url, Ftp::Gateway::user, and Ftp::Client::writeCommand().
◆ ftpTraverseDirectory()
|
static |
Definition at line 1423 of file FtpGateway.cc.
References debugs, Ftp::Gateway::dirpath, Ftp::Gateway::filepath, Ftp::Gateway::flags, ftpGetFile, ftpListDir, ftpSendCwd, Ftp::GatewayFlags::isdir, Ftp::Gateway::pathcomps, safe_free, and wordlistChopHead().
◆ ftpTrySlashHack()
|
static |
Definition at line 2295 of file FtpGateway.cc.
References debugs, Ftp::Gateway::filepath, Ftp::Gateway::flags, ftpGetFile, MYNAME, AnyP::Uri::path(), Ftp::Gateway::pathcomps, Client::request, rfc1738_unescape(), safe_free, SBufToCstring(), Ftp::GatewayFlags::try_slash_hack, HttpRequest::url, and wordlistDestroy().
Referenced by ftpFail().
◆ ftpWriteTransferDone()
|
static |
Definition at line 2258 of file FtpGateway.cc.
References code, Ftp::Client::ctrl, DBG_IMPORTANT, debugs, Client::entry, ERR_FTP_PUT_ERROR, Ftp::Client::failed(), ftpSendReply, MYNAME, Ftp::CtrlChannel::replycode, and StoreEntry::timestampsSet().
◆ is_month()
|
static |
Variable Documentation
◆ cbuf
|
static |
Definition at line 193 of file FtpGateway.cc.
Referenced by ftpSendCwd(), ftpSendList(), ftpSendMdtm(), ftpSendMkdir(), ftpSendNlst(), ftpSendPass(), ftpSendPORT(), ftpSendQuit(), ftpSendRest(), ftpSendRetr(), ftpSendSize(), ftpSendStor(), ftpSendType(), and ftpSendUser().
◆ FTP_SM_FUNCS
FTPSM* FTP_SM_FUNCS[] |
Definition at line 284 of file FtpGateway.cc.
Referenced by Ftp::Gateway::handleControlReply().
◆ ftpFail
|
static |
Definition at line 238 of file FtpGateway.cc.
Referenced by Ftp::Gateway::ftpAcceptDataConnection(), ftpReadCwd(), ftpReadList(), ftpReadMdtm(), ftpReadPasv(), ftpReadRest(), ftpReadRetr(), ftpReadSize(), ftpReadType(), ftpReadWelcome(), ftpSendPORT(), Ftp::Gateway::loginFailed(), and Ftp::Gateway::readStor().
◆ ftpGetFile
|
static |
Definition at line 220 of file FtpGateway.cc.
Referenced by ftpTraverseDirectory(), and ftpTrySlashHack().
◆ ftpListDir
|
static |
Definition at line 219 of file FtpGateway.cc.
Referenced by ftpReadType(), and ftpTraverseDirectory().
◆ ftpReadCwd
|
static |
Definition at line 222 of file FtpGateway.cc.
◆ ftpReadEPRT
|
static |
Definition at line 212 of file FtpGateway.cc.
◆ ftpReadEPSV
|
static |
Definition at line 216 of file FtpGateway.cc.
◆ ftpReadList
|
static |
Definition at line 226 of file FtpGateway.cc.
◆ ftpReadMdtm
|
static |
Definition at line 209 of file FtpGateway.cc.
◆ ftpReadMkdir
|
static |
Definition at line 237 of file FtpGateway.cc.
◆ ftpReadPass
|
static |
Definition at line 205 of file FtpGateway.cc.
Referenced by ftpReadUser().
◆ ftpReadPasv
|
static |
Definition at line 217 of file FtpGateway.cc.
◆ ftpReadPORT
|
static |
Definition at line 214 of file FtpGateway.cc.
Referenced by ftpSendPORT().
◆ ftpReadQuit
|
static |
Definition at line 240 of file FtpGateway.cc.
◆ ftpReadRest
|
static |
Definition at line 228 of file FtpGateway.cc.
◆ ftpReadRetr
|
static |
Definition at line 230 of file FtpGateway.cc.
◆ ftpReadSize
|
static |
Definition at line 211 of file FtpGateway.cc.
◆ ftpReadStor
|
static |
Definition at line 233 of file FtpGateway.cc.
◆ ftpReadTransferDone
|
static |
Definition at line 231 of file FtpGateway.cc.
◆ ftpReadType
|
static |
Definition at line 207 of file FtpGateway.cc.
◆ ftpReadUser
|
static |
Definition at line 203 of file FtpGateway.cc.
◆ ftpReadWelcome
|
static |
Definition at line 201 of file FtpGateway.cc.
◆ ftpRestOrList
|
static |
Definition at line 223 of file FtpGateway.cc.
Referenced by Ftp::Gateway::dataChannelConnected(), ftpReadEPRT(), and ftpReadPORT().
◆ ftpSendCwd
|
static |
Definition at line 221 of file FtpGateway.cc.
Referenced by ftpReadMkdir(), ftpReadRetr(), and ftpTraverseDirectory().
◆ ftpSendList
|
static |
Definition at line 224 of file FtpGateway.cc.
Referenced by ftpRestOrList().
◆ ftpSendMdtm
|
static |
Definition at line 208 of file FtpGateway.cc.
Referenced by ftpGetFile().
◆ ftpSendMkdir
|
static |
Definition at line 236 of file FtpGateway.cc.
Referenced by ftpReadCwd(), and ftpRestOrList().
◆ ftpSendNlst
|
static |
Definition at line 225 of file FtpGateway.cc.
Referenced by ftpReadList(), and ftpRestOrList().
◆ ftpSendPass
|
static |
Definition at line 204 of file FtpGateway.cc.
Referenced by ftpReadUser().
◆ ftpSendPassive
|
static |
Definition at line 215 of file FtpGateway.cc.
Referenced by Ftp::Gateway::dataChannelConnected(), ftpListDir(), ftpReadSize(), and ftpSendSize().
◆ ftpSendPORT
|
static |
Definition at line 213 of file FtpGateway.cc.
Referenced by ftpReadEPRT().
◆ ftpSendQuit
|
static |
Definition at line 239 of file FtpGateway.cc.
Referenced by ftpFail(), ftpReadTransferDone(), ftpSendReply(), and Ftp::Gateway::processHeadResponse().
◆ ftpSendReply
|
static |
Definition at line 235 of file FtpGateway.cc.
Referenced by ftpReadMkdir(), ftpSendStor(), and ftpWriteTransferDone().
◆ ftpSendRest
|
static |
Definition at line 227 of file FtpGateway.cc.
Referenced by ftpRestOrList().
◆ ftpSendRetr
|
static |
Definition at line 229 of file FtpGateway.cc.
Referenced by ftpReadRest(), and ftpRestOrList().
◆ ftpSendSize
|
static |
Definition at line 210 of file FtpGateway.cc.
Referenced by ftpReadMdtm().
◆ ftpSendStor
|
static |
Definition at line 232 of file FtpGateway.cc.
Referenced by ftpRestOrList().
◆ ftpSendType
|
static |
Definition at line 206 of file FtpGateway.cc.
Referenced by ftpReadPass().
◆ ftpSendUser
|
static |
Definition at line 202 of file FtpGateway.cc.
Referenced by ftpReadWelcome().
◆ ftpTraverseDirectory
|
static |
Definition at line 218 of file FtpGateway.cc.
Referenced by ftpReadCwd(), and ftpReadType().
◆ ftpWriteTransferDone
|
static |
Definition at line 234 of file FtpGateway.cc.
◆ Month
|
static |
Definition at line 496 of file FtpGateway.cc.
Referenced by is_month().