reorganising projects
--HG-- branch : sandbox
This commit is contained in:
6
misc/ftpget.py
Normal file
6
misc/ftpget.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from ftplib import FTP
|
||||
|
||||
ftp = FTP('ftp.asstr.org') # connect to host, default port
|
||||
ftp.login() # user anonymous, passwd anonymous@
|
||||
print ftp.getwelome()
|
||||
ftp.retrbinary('RETR README', open('README', 'wb').write)
|
||||
Reference in New Issue
Block a user