App-FTPThis

 view release on metacpan or  search on metacpan

lib/App/FTPThis.pm  view on Meta::CPAN

            "home directory: $self->{root}\n",
            "limit memory: -1\n",
            "limit nr processes: -1\n",
            "limit nr files: -1\n",
        ),
    );

    say "Starting FTP server on port $self->{port} ...";

    chdir $self->{root} or die "Can't chdir to $self->{root}: $!";
    local @ARGV = (
        "-C=$dir/conf",
        "-p", $self->{port},
        "-s", # daemon mode (not background, which is -S)
    );
    my $ftpd = Net::FTPServer::RO_FTPThis::Server->run;
}

1;
# ABSTRACT: Export the current directory over anonymous FTP

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.433 second using v1.00-cache-2.02-grep-82fe00e-cpan-da92000dfeb )