ryanheise.comsoftwareJava FTP Server → README

jftpd - readme

jftpd is an FTP server written in Java. It currently implements the following commands:

USERPASSCWDCDUPQUITREIN
PORTTYPESTRUMODERETRSTOR
DELERMDMKDPWDLISTNLST
SYSTNOOPSIZEMDTM

jftpd does not currently implement the following commands:

ACCTSMNTPASVSTOUAPPEALLO
RESTRNFRRNTOABORSITESTAT
HELP

jftpd supports the ASCII and IMAGE (binary) representation types.

The only transmission mode supported is STREAM, and the only structure supported is file-structure.

No user authentication is currently provided.

A copy of the FTP specification (RFC 959) can be found here.

LICENSE

jftpd is Copyright (C) 1998 Ryan Heise

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

INSTALLATION

Include the classes directory in your CLASSPATH. You can change the name from classes to anything you prefer or put it in a zip or jar archive.

There should be a configuration file called jftpd.properties in rheise/jftpd with some configuration options:

To run jftpd, type:

	java rheise.jftpd.Server
or
	java.rheise.jftpd.Server <port>

if you do not have privileges to bind to port 21. If you use a non-standard port (say, 7645), you can test jftpd using a web browser with a url such as:

	ftp://server.host.edu:7645/path/to/file

DESIGN

Documentation of the current design can be found here.