FileTransfer.hs is build on a client-server model architecture written in Haskell.
Using the standard Transmission Control Protocol files are transferred between a client and a server on a computer network.
To build just
stack build
FileTransfer [server | client host]
- Client initiate a connection with the server
- Server sends a list of files that are available for transfer.
- Client choose the desired file from the list.
- Server sends that file to Client.
- Client saves the received file locally and closes the connection.