Skip to content

Sushant-1999/FTP-Protocol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

** File Transfer Protocol**

*for Project of Computer Networking

implementation of file transfer protocol using socket
implemented in python, using multiprocessing to handle multi-user connection

How to run

  • clone this project
  • make sure you have python 3 installed
  • run the server by typing python server.py (by default server will use localhost, port 12009 for data transfer)
  • In a different terminal session, run the client by typing python client.py
  • start to give command to the server (see some commands below)

Main Commands

  • LS
  • DIR
  • QUIT
  • BYE
  • EXIT
  • PWD
  • CD
  • LCD
  • PROM
  • HASH
  • MKDIR
  • MDELETE
  • DELETE
  • RENAME
  • RMDIR
  • GET
  • PUT
  • MGET
  • MPUT

Additional Commands

  • PWD, get current remote directory
  • CDUP, change to parent remote directory
  • CWD , change current remote directory
  • MKD <dir_name>, make a directory in remote server
  • RMD <dir_name>, remove a directory in remote server
  • DELE <file_name>, delete a file in remote server
  • other commands... see list of FTP commands

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages