Skip to content

A proof of concept for delivering a file between a client and server using sockets

License

Notifications You must be signed in to change notification settings

ghTravis/RawFileTransfer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raw File Transfer

A proof of concept for delivering a file between two machines, one acting as a server machine and the other a client machine.

Features

The FileTransfer program allows a client to connect to a server and request a file from it, in which case the server will deliver the file requested to the user. It also can accept a file from the user in which case it will receive whatever file the user specified from the user.

Prerequisites

  • Python 2.7+

Installing & Deployment

Clone the repository and locate the client.py and server.py files

Execute the server on one machine or on the same machine by running the command:

python server.py

By default the server will listen on port 7005 for incoming connections.

Execute the client on another machine, or the same machine and point it to the server IP address and port by running the command:

python client.py <destination_addr> <destination_port> <COMMAND> <filename>

Built With

  • Python - The programming language used

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

  • 1.0.0 - Initial version - Pushed to GitHub for public viewing

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • BCIT BTech Program

About

A proof of concept for delivering a file between a client and server using sockets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages