FTP: Difference between revisions
Content deleted Content added
Scala contribution added. |
Thundergnat (talk | contribs) m →{{header|Perl 6}}: Change to a still active FTP host |
||
Line 601:
<lang perl6>use Net::FTP;
my $host = 'speedtest.tele2.net';
my $ftp = Net::FTP.new(:host('mirrors.sohu.com'), :passive);▼
my $user = 'anonymous';
my $password = '';
$ftp.login( user => $user, pass => $password );
say $_<name>for $ftp.ls();▼
$ftp.get( 'index.html', :binary );</lang>▼
{{out}}
<pre>1000GB.zip
100GB.zip
100KB.zip
100MB.zip
10GB.zip
10MB.zip
1GB.zip
1KB.zip
1MB.zip
200MB.zip
20MB.zip
2MB.zip
3MB.zip
500MB.zip
50MB.zip
512KB.zip
5MB.zip
upload</pre>▼
▲</pre>
=={{header|PicoLisp}}==
|