FTP: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) m (→{{header|Perl 6}}: Fetch a smaller file by default) |
(→{{header|Ruby}}: simplified printing to console) |
||
Line 652: | Line 652: | ||
ftp.passive = true |
ftp.passive = true |
||
ftp.chdir('pub/courses') |
ftp.chdir('pub/courses') |
||
ftp.list |
puts ftp.list |
||
ftp.getbinaryfile("make.notes.tar") |
ftp.getbinaryfile("make.notes.tar") |
||
end</lang> |
end</lang> |