# ftp **Repository Path**: ablechen/ftp ## Basic Information - **Project Name**: ftp - **Description**: No description available - **Primary Language**: C - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-01-07 - **Last Updated**: 2024-01-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README FTP Client-Server Implementation =========== Simple implementation of a file transfer program. It includes custom client and server programs that provide functionality to authenticate a user, list remote files, and retrieve remote files. ### Directory layout: ftp/ client/ ftclient.c ftclient.h makefile common/ common.c common.h server/ ftserve.c ftserve.h makefile .auth ###Usage To compile and link ftserve: ``` $ cd server/ $ make ``` To compile and link ftclient: ``` $ cd client/ $ make ``` To run ftserve: ``` $ server/ftserve PORTNO ``` To run ftclient: ``` $ client/ftclient HOSTNAME PORTNO Commands: list get quit ``` Available commands: ``` list - retrieve list of files in the current remote directory get - get the specified file quit - end the ftp session ``` Logging In: ``` Name: anonymous Password: [empty] ```