Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0988ed0 commit b32c8e9Copy full SHA for b32c8e9
1 file changed
Doc/library/ftplib.rst
@@ -28,6 +28,7 @@ Here's a sample session using the :mod:`ftplib` module::
28
>>> ftp.login() # user anonymous, passwd anonymous@
29
'230 Login successful.'
30
>>> ftp.cwd('debian') # change into "debian" directory
31
+ '250 Directory successfully changed.'
32
>>> ftp.retrlines('LIST') # list directory contents
33
-rw-rw-r-- 1 1176 1176 1063 Jun 15 10:18 README
34
...
@@ -39,6 +40,7 @@ Here's a sample session using the :mod:`ftplib` module::
39
40
>>> ftp.retrbinary('RETR README', fp.write)
41
'226 Transfer complete.'
42
>>> ftp.quit()
43
+ '221 Goodbye.'
44
45
46
The module defines the following items:
0 commit comments