blob: 7ab9a7d1217c131e62486d86080e08b8d9b19ce0 [file] [log] [blame]
<!DOCTYPE html>
<html lang="en">
<head>
<title>FtpServer SITE Commands &mdash; Apache MINA</title>
<link href="/assets/css/common.css" rel="stylesheet" type="text/css"/>
<link href="/assets/css/ftpserver.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<script src="https://www.apachecon.com/event-images/snippet.js"></script>
<div id="container">
<div id="header">
<div id="subProjectsNavBar">
<a href="/">
Apache MINA Project
</a>
&nbsp;|&nbsp;
<a href="/mina-project/">
MINA
</a>
&nbsp;|&nbsp;
<a href="/asyncweb-project/">
AsyncWeb
</a>
&nbsp;|&nbsp;
<a href="/ftpserver-project/">
<strong>FtpServer</strong>
</a>
&nbsp;|&nbsp;
<a href="/sshd-project/">
SSHD
</a>
&nbsp;|&nbsp;
<a href="/vysper-project/">
Vysper
</a>
</div>
</div>
<div id="content">
<div id="leftColumn">
<div id="navigation">
<a class="acevent" data-format="wide" data-width="170"></a>
<h5>Social Networks</h5>
<ul>
<li><a href="https://fosstodon.org/@apachemina">Apache MINA Mastodon</a></li>
</ul>
<h5>Overview</h5>
<ul>
<li><a href="/ftpserver-project/index.html">Home</a> </li>
<li><a href="/ftpserver-project/features.html">Features</a> </li>
<li><a href="/ftpserver-project/download_1_1.html">FtpServer 1.1.4</a></li>
<li><a href="/ftpserver-project/download_1_2.html">FtpServer 1.2.0</a></li>
<li><a href="/ftpserver-project/old-downloads.html">Old Downloads</a></li>
<li><a href="/ftpserver-project/documentation.html">Documentation</a></li>
<li><a href="/ftpserver-project/gen-docs/latest-1.1/apidocs/index.html" class="external-link" rel="nofollow">API Javadoc 1.1.4</a></li>
<li><a href="/ftpserver-project/gen-docs/latest-1.2/apidocs/index.html" class="external-link" rel="nofollow">API Javadoc 1.2.0</a></li>
<li><a href="/ftpserver-project/getting_source.html">Sources</a></li>
<li><a href="/ftpserver-project/faq.html">FAQ</a></li>
<li><a href="/ftpserver-project/related_project.html">Related Project</a></li>
</ul>
<h5>Community</h5>
<ul>
<li><a href="/ftpserver-project/mailing_list.html">Mailing Lists</a></li>
<li><a href="/ftpserver-project/getting_involved.html">Getting Involved</a></li>
<li><a href="/ftpserver-project/reporting_bug.html">Reporting a Bug</a></li>
<li><a href="/ftpserver-project/contributors.html">Contributors</a></li>
<li><a href="https://www.apache.org/foundation/contributing.html">Contributing</a></li>
<li><a href="https://www.apache.org/licenses/">License</a></li>
<li><a href="https://www.apache.org/security/">Security</a></li>
</ul>
<h5>Sponsorship</h5>
<ul>
<li><a href="https://www.apache.org/foundation/thanks.html">Thanks</a></li>
<li><a href="https://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li>
<li><a href="https://www.apache.org/">apache.org</a></li>
</ul>
</div>
</div>
<div id="rightColumn">
<h1 id="site-commands">SITE Commands</h1>
<p>This document describes all the FTP SITE commands implemented.</p>
<h2 id="site-descuser">SITE DESCUSER</h2>
<p>It displays the user details.</p>
<h3 id="sample-server-replies">Sample Server Replies</h3>
<pre><code>200-
DESCUSER : display user information.
HELP : display this message.
STAT : show statistics.
WHO : display all connected users.
ZONE : display timezone.
200 End of help.
</code></pre>
<h2 id="site-help">SITE HELP</h2>
<p>It displays all the available SITE commands.</p>
<h3 id="server-replies">Server Replies</h3>
<pre><code>200-
DESCUSER : display user information.
HELP : display this message.
STAT : show statistics.
WHO : display all connected users.
ZONE : display timezone.
200 End of help.
</code></pre>
<h2 id="site-stat">SITE STAT</h2>
<p>This command displays different server statistics information. Only admin user has the permission to execute this.</p>
<h3 id="sample-server-reply">Sample Server Reply</h3>
<pre><code>200-
Start Time : 2005-09-01T12:10:11
File Upload Number : 0
File Download Number : 0
File Delete Number : 0
File Upload Bytes : 0
File Download Bytes : 0
Directory Create Number : 0
Directory Remove Number : 0
Current Logins : 1
Total Logins : 1
Current Anonymous Logins : 0
Total Anonymous Logins : 0
Current Connections : 1
Total Connections : 1
200
</code></pre>
<h2 id="site-who">SITE WHO</h2>
<p>This command displays all currently logged-in user information. It displays the user name, client IP, login time and last access time. Only admin user has the permission to execute this.</p>
<h3 id="sample-server-reply-1">Sample Server Reply</h3>
<pre><code>200-
admin 127.0.0.1 2005-09-01T12:20:26 2005-09-01T12:20:52
anonymous 127.0.0.1 2005-09-01T12:20:37 2005-09-01T12:20:37
200
</code></pre>
<h2 id="site-zone">SITE ZONE</h2>
<p>This command displays the timezone information of the FTP server in RFC 822 4-digit time zone format. The format is
Sign TwoDigitHours TwoDigitMinutes</p>
<h3 id="sample-server-reply-2">Sample Server Reply</h3>
<pre><code>200 +0530
</code></pre>
</div>
<div id="endContent"></div>
</div>
<div id="footer">
&copy; 2003-2024, <a href="https://www.apache.org">The Apache Software Foundation</a> - <a href="https://privacy.apache.org/policies/privacy-policy-public.html">Privacy Policy</a><br />
Apache MINA, MINA, Apache Vysper, Vysper, Apache SSHd, SSHd, Apache FtpServer, FtpServer, Apache AsyncWeb, AsyncWeb,
Apache, the Apache feather logo, and the Apache Mina project logos are trademarks of The Apache Software Foundation.
</div>
</div>
</body>
</html>