Added file transfer to example.
This commit is contained in:
parent
0cb76200ef
commit
161edc29a6
|
@ -28,6 +28,8 @@ dr-xr-srwt 105 ftp-usr pdmaint 1536 Mar 21 14:32 ..
|
|||
.
|
||||
.
|
||||
.
|
||||
>>> ftp.retrbinary('RETR README', open('README', 'wb').write)
|
||||
'226 Transfer complete.'
|
||||
>>> ftp.quit()
|
||||
\end{verbatim}
|
||||
|
||||
|
|
Loading…
Reference in New Issue