#!/usr/bin/perl -w -T

# Net::FTPServer A Perl FTP Server
# Copyright (C) 2000 Bibliotech Ltd., Unit 2-3, 50 Carnwath Road,
# London, SW6 3EG, United Kingdom.
#
# 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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

# Very simple demonstration FTP server.
#
# By Richard W.M. Jones <rich@annexia.org>.
#
# $Id: ftpd,v 1.5 2000/10/25 09:37:46 rich Exp $
#
# To run this in background daemon mode, listening on port 2000, do:
#
#   ftpd -S -p 2000

# We require this in cases where Perl prints out warning messages
# when it starts up, eg. Constant subroutine __need___va_list undefined ...

BEGIN { close STDERR }

use strict;
use Net::FTPServer::Full::Server;

my $ftps = Net::FTPServer::Full::Server->run;
