Skip to main content

a File Transfer Tool. compatible “Dukto” and “NitroShare”, support “HFS

ndroptk.png

Feature

  • Just drop. No authentication, no authorize, use in trusted network.

  • compatible “Dukto” and “NitroShare

  • support HTTP File Server (HFS)

  • only CLI mode, no GUI. Dukto or NitroShare all provide GUI window.

  • transfer File, Directory. Dukto also send TEXT

  • output to DISK or STDOUT

Install

# from pypi
pip3 install ndrop

# from source code
python3 setup.py install

Using Scenarios

HTTP File Server

on Server:

$ ndrop --hfs
* HTTP File Server start
* Running on http://192.168.100.2:8000/ (Press CTRL+C to quit)
* Root path: ./

on Client:

open http://192.168.100.2:8000/ by browser

Client to Server

on Server(ndrop or Dukto):

$ ndrop --listen 0.0.0.0 /tmp
 * My Node: user at DESKTOP-client (Linux)
 * [Dukto] listen on 0.0.0.0:4644(tcp):4644(udp) - [127.0.0.1,192.168.0.1]
 * [NitroShare] listen on 0.0.0.0:40818(tcp):40816(udp) - [127.0.0.1,192.168.0.1]
 * Online : [Dukto] 192.168.0.10:4644 - User at DESKTOP-LU1OA8H (Windows)
 * Online : [NitroShare] 192.168.0.11:40818 - USER-4VC7CASHSL (windows)
[process bar ... ]

or output to STDOUT or PIPE:

$ ndrop --listen 0.0.0.0 - | mpv -

on Client(ndrop, Dukto or NitroShare):

$ ndrop --mode dukto --send 192.168.0.1 /tmp/100M.bin
# or
$ ndrop --mode nitroshare --send 192.168.0.1 /tmp/100M.bin
[process bar ... ]

Client to Server with SSL

Maybe transfer though PUBLIC network, such as Internet. Dukto do not support SSL.

on Server:

$ ndrop ~/cert.pem --key ~/key.pem --listen 0.0.0.0 /tmp
 * My Node: user at DESKTOP-client (Linux)
 * [Dukto] listen on 0.0.0.0:4644(tcp):4644(udp) - [127.0.0.1,192.168.0.1]
 * [NitroShare] listen on 0.0.0.0:40818(tcp):40816(udp) - [127.0.0.1,192.168.0.1]
 * Online : [Dukto] 192.168.0.10:4644 - User at DESKTOP-LU1OA8H (Windows)
 * Online : [NitroShare] 192.168.0.11:40818 - USER-4VC7CASHSL (windows)
[process bar ... ]

on Client:

$ ndrop --mode dukto ~/cert.pem --key ~/key.pem --send 192.168.0.1 /tmp/100M.bin
[process bar ... ]

Release files for ndrop 1.5.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for ndrop 1.5.11
File Interpreter ABI Platform
ndrop-1.5.11-py3-none-any.whl Python 3 none any Details

Release files / ndrop-1.5.11-py3-none-any.whl

Download URL ndrop-1.5.11-py3-none-any.whl
Size 299.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
41ce28e0de9ca07e90aaa579009aa8d4c1c91fd1f769b3da92f4ac4c8b5ff63d
BLAKE2b-256 checksum
How to use checksums
ef7edfa3abae6b5c3e4c2910a440f9c4c4b4610f74edaa0b4a7b2a4692b115b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.10

Release history Release notifications | RSS feed

This release

1.5.11 This release

1 release file

1.5.10

1 release file

1.5.9

1 release file

1.5.8

1 release file

1.5.7

1 release file

1.4.5

1 release file

1.4.3

1 release file

1.4.2

1 release file

1.4.1

1 release file

1.4.0

1 release file

1.3.12

1 release file

1.3.11

1 release file

1.3.9

1 release file

1.3.8

1 release file

1.3.6

1 release file

1.2.6

1 release file

1.1.3

1 release file

1.1.2

1 release file

1.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page