AnyEve...pServer(3pm)

πŸ“¦ version 0.20, in ubuntu stonking

✨ NAME ✨

AnyEvent::FTP::Client::Site::NetFtpServer β€” it's the manual page for this gorgeous little class, bestie πŸ’– and it does exactly one very specific job: giving you the SITE commands for Net::FTPServer. Oh and heads up, the manual name is AnyEve...pServer(3pm) under User Contributed Perl Documentation, so if you're out here searching for it, that's the vibe.


🌸 VERSION 🌸

version 0.20 β€” yeah, she's on 0.20, we love a specific girlie πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

okay so here's the whole flow, no cap:

use AnyEvent::FTP::Client;
my $client = AnyEvent::FTP::Client->new;
$client->connect('ftp://netftpserver')->cb(sub {
  $client->site->net_ftp_server->version->cb(sub {
    my($res) = @_;
    # $res isa AnyEvent::FTP::Client::Response where
    # the message includes the server version
  });
});

literally connect, then call the site command, then the message in $res has the server version in it. slay πŸ’…


πŸ’œ DESCRIPTION πŸ’œ

This class provides the SITE specific commands for Net::FTPServer. That's it, that's the whole assignment, and she ate πŸ”₯


πŸ‘‘ METHODS πŸ‘‘

🌈 version

$client->site->net_ftp_server->version

Get the Net::FTPServer version. iconic, straightforward, no notes ⭐


πŸ’€ CAVEATS πŸ’€

ngl there's a whole list of other SITE commands that Net::FTPServer supports but this class just... does not implement. not her fault, she's doing her best πŸ™ˆ Here they are in all their unrealized glory:

  • SITE ALIAS
  • SITE ARCHIVE
  • SITE CDPATH
  • SITE CHECKMETHOD
  • SITE CHECKSUM
  • SITE EXEC
  • SITE IDLE
  • SITE SYNC

patches that include tests are welcome. 🫢 (this is your sign to be the main character and write one, fr fr)


πŸ“ AUTHOR πŸ“

Author: Graham Ollis <plicease@cpan.org>

Contributors:

  • Ryo Okamoto
  • Shlomi Fish
  • JosΓ© JoaquΓ­n Atria

look at this dream team, absolute legends, periodt πŸ‘‘


This software is copyright (c) 2017-2022 by Graham Ollis.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.


that's the whole page bestie, you're basically a Net::FTPServer site-command expert now, iykyk πŸ’–

and a lil sign-off for the girlies keeping receipts: this gem was rendered by perl v5.40.1 on 2026-02-16 ✨ bye mwah πŸ’…

πŸ“¦ where this page comes from