TianZerL / LFT

A simple tool to transfer your files in LAN, based on Go

Repository from Github https://github.comTianZerL/LFTRepository from Github https://github.comTianZerL/LFT

LFT - LAN files transferor

LFT is a simple cli tool to transfer your files in LAN, also works in WAN, based on Go.
It can be called as LAN files transferor 😂.

Feature

  • Send a file
  • Send directory
  • Scan server
  • GUI

Example

Start a server:
How to start a server Send a file: How to send a file Send directory: How to send a directory Scan servers: How to scan servers

Usage

Start a server

Quick start:

LFT -w  

Set a name to your server:

LFT -w -name [your server name] 

Specify port:

LFT -w -port [specify port]

Specify listening IP:

LFT -w -ip [specify IP]

Send a file or directory

Quick start:

LFT -d [source path] -ip [server ip]  

Specify port:

LFT -d [source path] -ip [server ip] -port [specify port]

Scan servers

LFT -scan -ip [destination IP list] -port [destination port list]

Attention:
In IP list and port list, use "," to separate. For example, you can input "192.168.1.1,192.168.2.1,192.168.3.1" and "6981,6980,6979" etc.
The LFT will automatically scan the IP segment of each inputted ip and port. For example, inputting "192.168.1.1" means to scan "192.168.1.0" to "192.168.1.255".
The port can be defaulted, it will be the default port 6981.

More arguments

  -?    Display help information
  -d string
        Source or destination (default "./receive/")
  -h    Display help information
  -ip string
        Server IP address (default "0.0.0.0")
  -name string
        Set a name to your server (default "LFT-Server")
  -port string
        Server Port (default "6981")
  -scan
        Scan Lan to find servers
  -w    Start a server

Install

go get -v github.com/TianZerL/LFT

Author

TianZerL

License

LGPL-3.0

About

A simple tool to transfer your files in LAN, based on Go

License:GNU Lesser General Public License v3.0


Languages

Language:Go 100.0%