Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 895 Bytes

README.md

File metadata and controls

30 lines (24 loc) · 895 Bytes

Requirements

  1. Login
  2. List of files, folders (ls, dir)
  3. Upload a file (put)
  4. Download a file (get)
  5. Upload multiple files (mput)
  6. Download multiple files (mget)
  7. Change direction in server side (cd)
  8. Change direction in client side (lcd)
  9. Delete a file (delete)
  10. Delete multiples file (mdelete)
  11. Make a folder (mkdir)
  12. Remove an empty folder (rmdir)
  13. Display current direction in server side (pwd)
  14. Switch to passive mode (passive)
  15. Exit server (quit, exit)
  16. Support both passive mode and active mode

Sample codes

https://github.com/jacklam718/ftp/blob/master/ftp_client.py

https://github.com/python/cpython/blob/2.7/Lib/ftplib.py - https://docs.python.org/2/library/ftplib.html

References