Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mohitarora3/ftp
A client-server implementation of File Transfer Protocol.
https://github.com/mohitarora3/ftp
hactoberfest hactoberfest-2021 hactoberfest2021
Last synced: 25 days ago
JSON representation
A client-server implementation of File Transfer Protocol.
- Host: GitHub
- URL: https://github.com/mohitarora3/ftp
- Owner: mohitarora3
- Created: 2019-04-22T15:15:22.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-10-23T04:08:10.000Z (about 3 years ago)
- Last Synced: 2024-10-23T13:35:48.137Z (2 months ago)
- Topics: hactoberfest, hactoberfest-2021, hactoberfest2021
- Language: C++
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 0
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FTP
**Problem Statement:-** The aim of this project is to implement FTP application between a server and a client. The application is a console based application and is implemented using Unix Sockets.This project is developed in **C++** language.
## Following FTP Commands are implemented:-
**1. USER:-** This command sends the user identification to the server.
**2. PASS:-** This command sends the user password to the server.
**3. MKD:-** This command causes the directory specified in the path name to be created as a directory.
**4. CWD:-** This command allows the user to change the current working directory to the path specified with the command.
**5. RMD:-** This command causes the directory specified in the path-name to be removed as a directory.
**6. PWD:-** This command causes the name of the current working directory to be returned in the reply.
**7. RETR:-** This command send the requested file over the data connection.
**8. STOR:-** This command causes to store a file into the current directory of the remote host.
**9. LIST:-** This command sends a request to display the list of all the files present in the directory.
**10. ABOR:-** This command tells the server to abort the previous FTP service command and any associated transfer of data.
**11. QUIT:-** This command terminates a USER and if file transfer is not in progress, the server closes the connection.
## Some of the FTP replies are:-
**1. 200:-** Command okay.**2. 530:-** Not logged in.
**3. 331:-** User name okay, need password.
**4. 225:-** Data connection open; no transfer in progress.
**5. 502:-** Command not implemented.
**6. 503:-** Bad sequence of commands.