Skip to content

Latest commit

 

History

History
27 lines (25 loc) · 992 Bytes

README.md

File metadata and controls

27 lines (25 loc) · 992 Bytes

ftp

Implemented the File Transfer Protocol from scratch using socket programming in Python.

USAGE:

  1. For SERVER: python3 server.py {port number}
  2. For CLIENT: python3 client.py {same port number as server}

NOTE:

  1. It is multi threaded
  2. Few of the commands:
    ls: Run ls on server
    !ls: Run ls on client
    cd: Navigate on server
    !cd: Navigate on client
    pwd: Print working directory on server
    !pwd: Print working directory on client
    get: Transfer file from server to client
    mget: Transfer files from server to client
    put: Transfer file from client to server
    mput: Transfer files from client to server
    mkdir: Create a directory on server
    !mkdir: Create a directory on client
    rm: Remove a file or directory on server
    !rm: Remove a file or directory on client
    sys: Print system running on server
    !sys: Print system running on client
    user: Authenticating user (username, and password)