FTP: Difference between revisions

Content added Content deleted
m (Adjust to the interface ftpFileSys)
(Added Julia language)
Line 348: Line 348:
-rw-rw-r-- 1 109 space-station 1134654 May 9 2005 When Space Makes you Dizzy.mp3
-rw-rw-r-- 1 109 space-station 1134654 May 9 2005 When Space Makes you Dizzy.mp3
226 Transfer complete</pre>
226 Transfer complete</pre>

=={{header|Julia}}==
{{works with|Julia|0.6}}

<lang julia>using FTPClient

ftp = FTP(hostname = "ftp.ed.ac.uk", username = "anonymous")
cd(ftp, "pub/courses")
println(readdir(ftp))
bytes = read(download(ftp, "make.notes.tar"))

close(ftp)</lang>


=={{header|Lingo}}==
=={{header|Lingo}}==