FTP: Difference between revisions

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