The File Transfer Protocol (FTP) is a standard communication protocol used for the transfer of computer files from a server to a client on a computer network. In this project, we implemented an FTP Server on a client–server model architecture using separate control and data connections between the client and the server.
USER [name]
, Its argument is used to specify the user's string. It is used for user authentication.PASS [password]
, Its argument is used to specify the user's password. It is used for user authentication.PWD
, It is used to print the name of the current working directory.MKD [path]
, Its argument is used to specify the directory's path. It is usede to create a new directory.DELE [flag] [path]
, Its argument is used to specify the file/directory's path. It flag is used to specify whether a file (-f
) or a directory (-d
) will be removed. It is usede to remove a file or directory.LS
. It is used to print the list of files/directories in the current working directory.CWD [path]
, Its argument is used to specify the directory's path. It is used to change the current working directory.RENAME [from] [to]
, Its arguments are used to specify the old and new file's name. It is used to change A file's name.RETR [name]
, Its argument is used to specify the file's name. It is used to download a file.HELP
, It is used to display information about builtin commands.QUIT
, It is used to sign out from the server.