Basic FTP Implementation in Python