Net::I...ue::FTP(3pm)

πŸ“¦
version 0.604 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– Net::INET6Glue::FTP πŸ’–

okay bestie, so this page is the manual for Net::INET6Glue::FTP, which ships with perl v5.32.1 and got its last glow-up on 2021-02-28. pull up a chair, we're giving an old module the IPv6 treatment πŸ’…


✨ NAME ✨

Net::INET6Glue::FTP β€” it adds IPv6 support to Net::FTP by hotpatching. yes, hotpatching. we're going in live. no cap πŸ”₯


🌈 SYNOPSIS 🌈

use Net::INET6Glue::FTP;
use Net::FTP;
my $ftp = Net::FTP->new( '::1' );
$ftp->login(...)

literally that's it. load the glue first, load Net::FTP, and suddenly '::1' just works. iconic behavior honestly 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea, bestie: this module brings IPv6 support to Net::FTP, and it does it by hotpatching support for the EPRT and EPSV commands straight into Net::FTP. not asking nicely, not waiting for a patch upstream β€” just going in and making it happen. main character energy, fr fr ✨

it also hotpatches the pasv, port and _dataconn methods so they actually make use of EPRT and EPSV when you're on an IPv6 connection. because what's the point of having the commands if nobody calls them, right? πŸ™ˆ

and it doesn't stop there β€” it also bundles in Net::INET6Glue::INET_is_INET6 so the Net::FTP sockets come out IPv6 capable. one little module, doing the absolute most, and we're obsessed πŸ‘‘

ngl, "hotpatching" means exactly what it sounds like: it reaches into Net::FTP at runtime and swaps things out. so load Net::INET6Glue::FTP before you go making Net::FTP objects, mmkay? πŸ’€

this module is copyright (c) 2008..2014, Steffen Ullrich. All Rights Reserved. it's free software, babes β€” you can use it, redistribute it and/or modify it under the same terms as Perl itself. sharing is caring, periodt πŸ’–


and that's the whole page, bestie!! 🌸 this was Net::INET6Glue::FTP from the perl v5.32.1 user-contributed perl documentation, dated 2021-02-28 β€” go make some IPv6 sockets and slay πŸ’…πŸ¦‹βœ¨

πŸ“¦ where this page comes from