Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 161edc2

Browse files
committed
Added file transfer to example.
1 parent 0cb7620 commit 161edc2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Doc/lib/libftplib.tex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ \section{Standard Module \module{ftplib}}
2828
.
2929
.
3030
.
31+
>>> ftp.retrbinary('RETR README', open('README', 'wb').write)
32+
'226 Transfer complete.'
3133
>>> ftp.quit()
3234
\end{verbatim}
3335

0 commit comments

Comments
 (0)