FTP: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) m (→{{header|Perl 6}}: Change to a still active FTP host) |
Thundergnat (talk | contribs) m (→{{header|Perl 6}}: re add directory change command) |
||
Line 608: | Line 608: | ||
$ftp.login( user => $user, pass => $password ); |
$ftp.login( user => $user, pass => $password ); |
||
$ftp.cwd( 'upload' ); |
|||
$ftp.cwd( '/' ); |
|||
say $_<name> for $ftp.ls; |
say $_<name> for $ftp.ls; |