network_file 0.0.3 copy "network_file: ^0.0.3" to clipboard
network_file: ^0.0.3 copied to clipboard

outdated

A dead simple Dart library, to find and share files across devices on a network.

Network File #

Network File let's you transparently find, and share files across several other devices in a network running Network File.

Works anywhere dart:io works.

How? #

Network file works like this -

  • When a device wants to download a file, (by invoking NetworkFile.findFile()), it issues a UDP broadcast request.

  • When the UDP broadcast packet reaches a server (created by NetworkFile.runserver()), the server responds if it has the file.

  • Once a server responds, the client/server will transfer this file using plain old HTTP.

That's it.

Features #

  • A FileIndex that either works on relative paths, or the MD5 hash of the files.

Examples #

2
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A dead simple Dart library, to find and share files across devices on a network.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

crypto, flutter, http_server, logging, path

More

Packages that depend on network_file