AnyEve...xt::FS(3pm)
π AnyEvent::FTP::Server::Context::FS β the perl 3pm manual, bestie edition π
okay so this is a page from the User Contributed Perl Documentation section of the perl manual, and honestly? it's giving "the quiet one in the group chat who actually knows everything." no cap.
β¨ NAME β¨
AnyEvent::FTP::Server::Context::FS β an FTP server context that uses a real file system. and before you ask: no transfers, bestie. it says so right there in the name of the game. π
π¦ VERSION π¦
version 0.20
πΈ SYNOPSIS πΈ
here's the vibe, copy-paste ready:
use AnyEvent::FTP::Server;
my $server = AnyEvent::FTP::Server->new(
default_context => 'AnyEvent::FTP::Server::Context::FS',
);
look at that. you set default_context and boom, you're That Girl running an FTP server on your actual disk. iconic. β¨
π DESCRIPTION π
so real talk: this class is the base class for two other classes β AnyEvent::FTP::Server::Context::FSRO and AnyEvent::FTP::Server::Context::FSRW. it's the parent, the mother, the blueprint. it does not do the reading or the writing itself, that's for the children to figure out. main character energy, truly. π
π ROLES π
this class consumes these roles. it ate and left no crumbs:
AnyEvent::FTP::Server::Role::AuthAnyEvent::FTP::Server::Role::HelpAnyEvent::FTP::Server::Role::OldAnyEvent::FTP::Server::Role::Type
π ATTRIBUTES π
π cwd
my $dir = $context->cwd;
the current working directory, as a string. that's it. that's the whole thing. short and sweet, we love her. π
π§ rename_from
my $filename = $context-E<gt>rename_from;
the filename that the last FTP "RNFR" command specified. so like, whatever you said you wanted to rename from on the way in β she remembered it for you. π«Ά
okay bestie i gotta be honest, the line above is written exactly how the manual writes it, -E<gt> and all. that's a POD escape thing that leaked into the rendered page. i'm not touching it, i don't make the rules, i just relay the lore. π
π COMMANDS π
on top of everything the roles up there already give you, this context serves up these FTP commands, in this exact order:
CWDCDUPPWDSIZEMKDRMDDELERNFRRNTOSTAT
ten commands. a whole little deck. slay. π₯
π AUTHOR π
Author: Graham Ollis <plicease@cpan.org>
Contributors β give them their flowers, fr fr: πΈ
- Ryo Okamoto
- Shlomi Fish
- JosΓ© JoaquΓn Atria
π COPYRIGHT AND LICENSE π
this software is copyright (c) 2017-2022 by Graham Ollis. respect the legacy, bestie.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. so like... go forth, remix, redistribute, whatever. just keep the terms. periodt. π
and that's the whole page, we're done here!! π¦β¨ this little writeup is perl v5.40.1, dated 2026-02-16, from the <rainbow>AnyEvent::FTP::Server::Context::FS(3pm)</rainbow> manual page. mwah. bye bestie, go read some more man pages, i'll be here. πππΈ
π¦ where this page comes from
- ubuntu stonking: libanyevent-ftp-perl 0.20-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms