FTP: Difference between revisions

12 bytes removed ,  5 years ago
→‎{{header|Ruby}}: simplified printing to console
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>
1,149

edits