Skip to main content

Simple flask webapp for sending files over network using socket

Project description

SockApp

Simple flask web app to send files between two computers using socket.

Steps to run

  1. Install sockapp using pip:-
user@programmer~:$ pip install sockapp
  1. Run sockapp from terminal on both sender and receiver (make sure you are in receiving location at receiver's end):-
user@programmer~:$ sockapp

2.1. To run sockapp from a different port, pass it as a command line argument:-

user@programmer~:$ sockapp --port 12345

2.2. To run sockapp using a different protocol (default = TCP), pass it as a command line argument:-

user@programmer~:$ sockapp --protocol UDP

Note:- If you want to use TCP you can mention it using this command line arugment but since it is the default value, passing TCP is optional.

  1. From sender enter IP address of receiver and file path to be sent.

  2. From receiver accept the connection by pressing the receive button.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sockapp-0.1a6.tar.gz (56.2 kB view hashes)

Uploaded Source

Built Distribution

sockapp-0.1a6-py3-none-any.whl (62.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page