FTP: Difference between revisions
→{{header|Perl 6}}: As it appears the kernel.org anonymous ftp server is defunct, switch to a fascade test server
No edit summary |
Thundergnat (talk | contribs) (→{{header|Perl 6}}: As it appears the kernel.org anonymous ftp server is defunct, switch to a fascade test server) |
||
Line 597:
=={{header|Perl 6}}==
{{works with|rakudo|
<lang perl6>use Net::FTP;
my $ftp = Net::FTP.new(
$ftp.login(
▲say $_<name> for $ftp.ls;
{{out}}
<pre>
CPAN
FOOTER.html
FreeBSD
HEADER.html
OpenBSD
anthon
apache
archlinux
centos
cygwin
dag
debian
debian-backports
debian-cd
debian-multimedia
debian-security
deepin
deepin-cd
fedora
fedora-epel
gentoo
help
images
index.html
mysql
nginx
opensuse
php
python
qt-all
raspbian
rsync
ubuntu
ubuntu-cn
ubuntu-releases
</pre>
|