https://github.com/thevickypedia/ftp_server_client
FTP Server and Client using Socket Programming in C
https://github.com/thevickypedia/ftp_server_client
ftp-client ftp-server socket socket-programming
Last synced: 12 months ago
JSON representation
FTP Server and Client using Socket Programming in C
- Host: GitHub
- URL: https://github.com/thevickypedia/ftp_server_client
- Owner: thevickypedia
- License: mit
- Created: 2019-11-21T22:26:59.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-26T21:39:01.000Z (almost 6 years ago)
- Last Synced: 2025-02-12T22:22:51.474Z (over 1 year ago)
- Topics: ftp-client, ftp-server, socket, socket-programming
- Language: C
- Homepage:
- Size: 14.6 KB
- Stars: 2
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Computer Networks-FTP
Linux specific, FTP Server and Client using Socket Programming in C
Prerequisites:
* Access to two computers on the same network or a virtual machine (eg. grok.missouristate.edu in case you're using a single machine)
* Program for ftp_client and ftp_server
Contents of the directory:
* ftp_client.c
* ftp_server.c
* ftp_client
* ftp_server
* makemefile
Running the tests:
1. Initialize a socket (using socket())
2. Connect the socket to the address of the server (using connect())
3. Listening socket setup (using listen())
4. Assign tasks for "ls"
5. Get file name from request and transfer it to the destination
References used:
ftp://ftp.sas.com/techsup/download/SASC/share5958-59/S5958v2.pdf
https://www.tutorialspoint.com/c_standard_library/c_function_strcpy.htm
https://www.tutorialspoint.com/c_standard_library/c_function_atoi.htm
https://www.cs.nmsu.edu/~jcook/Tools/pthreads/library.html
http://www.cs.columbia.edu/~danr/courses/6761/Fall00/hw/pa1/6761-sockhelp.pdf
http://www.yolinux.com/TUTORIALS/LinuxTutorialPosixThreads.html
https://stackoverflow.com/questions/4204666/how-to-list-files-in-a-directory-in-a-c-program
## License & copyright
© Vignesh Sivanandha Rao, FTP Server and Client
Licensed under the [MIT License](LICENSE)