summaryrefslogtreecommitdiff
path: root/src/FtpNegotiationCommand.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-09-08 13:06:44 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-09-08 13:06:44 +0000
commiteb652b570e765bcf12120fd831bf42b3e7f19652 (patch)
tree22922bda5cae6325d69f003f33f620efc8f0b6e4 /src/FtpNegotiationCommand.h
parentdbc8f5b737607db38399385e3b94f8dec9b3576c (diff)
2008-09-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Implemented the ability to get timestamp from remote FTP server using MDTM command described in RFC3659. * src/FtpConnection.cc * src/FtpConnection.h * src/FtpNegotiationCommand.cc * src/FtpNegotiationCommand.h * test/FtpConnectionTest.cc * test/Makefile.am
Diffstat (limited to 'src/FtpNegotiationCommand.h')
-rw-r--r--src/FtpNegotiationCommand.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/FtpNegotiationCommand.h b/src/FtpNegotiationCommand.h
index 8666f16f..ccbd3d7a 100644
--- a/src/FtpNegotiationCommand.h
+++ b/src/FtpNegotiationCommand.h
@@ -54,6 +54,8 @@ public:
SEQ_RECV_TYPE,
SEQ_SEND_CWD,
SEQ_RECV_CWD,
+ SEQ_SEND_MDTM,
+ SEQ_RECV_MDTM,
SEQ_SEND_SIZE,
SEQ_RECV_SIZE,
SEQ_SEND_PORT,
@@ -82,6 +84,8 @@ private:
bool recvType();
bool sendCwd();
bool recvCwd();
+ bool sendMdtm();
+ bool recvMdtm();
bool sendSize();
bool recvSize();
bool sendPort();