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: about 2 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 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-26T21:39:01.000Z (over 4 years ago)
- Last Synced: 2025-02-12T22:22:51.474Z (4 months 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 CPrerequisites:
* 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_serverContents of the directory:
* ftp_client.c
* ftp_server.c
* ftp_client
* ftp_server
* makemefileRunning 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 destinationReferences 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)