Simple flask webapp for sending files over network using socket.
Project description
SockApp
Simple flask web app to transfer files and messages between two computers using socket. Uses SockX to transfer files and messages.
Steps to run
- Install sockapp using pip:-
user@programmer~:$ pip install sockapp
- 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
2.3. To run sockapp from a different working directory, pass it as a command line argument:-
user@programmer~:$ sockapp --start_dir /home/user/sample-dir
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.
-
From sender enter IP address of receiver and file path to be sent.
-
From receiver accept the connection by pressing the receive button.
License
SockApp is licensed under MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file sockapp-0.1a8.tar.gz
.
File metadata
- Download URL: sockapp-0.1a8.tar.gz
- Upload date:
- Size: 55.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.6.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eee8bbd19b7727cbf19fd3c702a4435374853f4847cf83d9182b309115540475 |
|
MD5 | e06b78c419f4eff760a2355da982c8e0 |
|
BLAKE2b-256 | 562cf49eac9f1c86cf8b394170b958f8e7b1fffc4055cdd897c380981ebe82d4 |
File details
Details for the file sockapp-0.1a8-py3-none-any.whl
.
File metadata
- Download URL: sockapp-0.1a8-py3-none-any.whl
- Upload date:
- Size: 66.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.6.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43300fd1b7c55a01134333a4474416236fa47bfad1ebf737c78f0e9607f8978d |
|
MD5 | c863ae80e5fad0bb4382c40cf46344a9 |
|
BLAKE2b-256 | e2dea5103421afdbc978b9ae7d79960d9ef18b4c2bad4be4fe1ce8fad4c644f4 |