A cross-platform CLI tool for transfering large files from one pc to another over slow and unstable networks by breaking the files down into very small parts.
(Some functions are still under Development!)
#Installation To install using NPM
npm i -g slice-net
On the PC from which you want to send the file:
slice-net -u -f YourFile.xyz
This will also show your hostname, for example 188.8.131.52.
On the PC to which your are sending:
slice-net -d -ip 184.108.40.206
If a download is discontinued it starts from the last shard it was downloading. Any missing shards are also downloaded!
To create smaller or larger shards use the
slice-net -u -f fileName.xyz -s 2000000
This will divide the file into 2MB shards. Default is 1MB.
There will be a "sliceFiles" directory which will have all the individual shards, to delete all of these shards upon sucessful download pass "-S" flag. (Under development)
slice-net download 220.127.116.11 -S
Similarly, to avoid merging shards use "-M".
slice-net -d -ip 18.104.22.168 -M
To change the used directroy use the -D flag, for example:- (Unstable)
slice-net -d -ip 22.214.171.124 -D ./newDownloads
Copyright (c) 2021 Ray Voice
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.