From 161edc29a624d3d40eeb4706cc8a26ce58921f0e Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Fri, 7 Aug 1998 17:30:49 +0000 Subject: [PATCH] Added file transfer to example. --- Doc/lib/libftplib.tex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Doc/lib/libftplib.tex b/Doc/lib/libftplib.tex index 00b01a71fc11..d2358e89129a 100644 --- a/Doc/lib/libftplib.tex +++ b/Doc/lib/libftplib.tex @@ -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} -- 2.47.3