Skip to content

sayarghoshroy/File-Server-Lite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

File Server Lite

Basic file server and client using socket connections

The client can access files stored on the server. 'listall' lists all files and directories hosted on the server. 'send' is used to download files from the server. All exceptions on the server side are handled.

Usage: send <filename>

Example

> listall //client requests to view files hosted on the server
weather.txt
hi.png
hello.py
> send hi.png //client downloads 'hi.png'

To build the Server executable:

g++ -o file_server file_server.c

To build the Client executable:

g++ -o file_client file_client.c
  • Precompiled executables have been provided.

Running an executable file 'exec':

./exec
  • The server can be executed at a particular directory.

  • Multiple clients running at various locations can access the server.

  • No external libraries were used.


About

Basic file server and client using socket connections

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages