Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
More basic implementation of ftp on python
import ftplib
ftp = ftplib.FTP('', 'anonymous', '')
print "File List: "
files = ftp.dir()
print files
ftp.cwd("/pub/unix") #changing to /pub/unix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment