FTP: Difference between revisions

Content added Content deleted
(make task description fit the code)
Line 1: Line 1:
{{draft task|Programming environment operations}}[[Category:Networking and Web Interaction]]
{{draft task|Programming environment operations}}[[Category:Networking and Web Interaction]]


Connect to a server, change directory and download a file as binary using the FTP protocol. Use passive mode if available.
Connect to a server, change directory, list its contents and download a file as binary using the FTP protocol. Use passive mode if available.


=={{header|Python}} 2==
=={{header|Python}} 2==
Line 16: Line 16:


=={{header|Racket}}==
=={{header|Racket}}==
Note: <tt>net/ftp</tt> in Racket uses passive mode exclusively.
<lang racket>
<lang racket>
#lang racket
#lang racket