Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ZhenlyChen/LFTP

Repository files navigation

LFTP

Send and receive large file by UDP

Usage

Usage: lftp [-hV] [COMMAND]
Send and receive large file by udp.
-h, --help Show this help message and exit.
-V, --version Print version information and exit.
Commands:
server Send and receive large file by udp.
lsend Send file to server.
lget Get file from server.
list Get file list in server.

Usage: lftp server [-hV] [-c=<clientCount>] [-d=<dir>] [-p=<port>]
[-s=<portPoolStart>]
Send and receive large file by udp.
-c, --client=<clientCount>
The number of clients at the same time.
-d, --dir=<dir> Server data folder.
-h, --help Show this help message and exit.
-p, --port=<port> Server listen port.
-s, --start=<portPoolStart>
Start port pool
-V, --version Print version information and exit.

Usage: lftp lsend [-hV] [-c=<controlPort>] [-p=<sendPort>] [-s=<server>]
[<files>...]
Send file to server.
[<files>...] File path
-c, --control=<controlPort>
Control port.
-h, --help Show this help message and exit.
-p, --port=<sendPort> Data port.
-s, --server=<server> Server location.
-V, --version Print version information and exit.

Usage: lftp lget [-hV] [-c=<controlPort>] [-d=<dir>] [-p=<dataPort>]
[-s=<server>] [<files>...]
Get file from server.
[<files>...] File path
-c, --control=<controlPort>
Control Port
-d, --dir=<dir> Your file will download to this folder.
-h, --help Show this help message and exit.
-p, --port=<dataPort> Data Port.
-s, --server=<server> Server location.
-V, --version Print version information and exit.

Usage: lftp list [-hV] [-s=<server>]
Get file list in server.
-h, --help Show this help message and exit.
-s, --server=<server> Server location.
-V, --version Print version information and exit.

Example

# Run a server in port 3000
$ java -jar lftp.jar server -p 3000 -d ./serverData
# Send a file(./data/test.txt)
$ java -jar lftp.jar lsend -s 127.0.0.1:3000 ./data/test.txt
# Get a file(test.txt) to ./data
$ java -jar lftp.jar lget -s 127.0.0.1:3000 -d ./data test.txt
# List file in server
$ java -jar lftp.jar list -s 127.0.0.1:3000

Feature

  • Kuai Su ,Ji Yu UDPChuan Shu ,Ke Pao Man 100MbpsDai Kuan
  • Ke Kao ,Bao Zheng Mei Ge Shu Ju Bao De An Xu Bing Qie Que Bao Dao Da ,Chuan Shu De Wen Jian Yi Jiu Yuan Zhi Yuan Wei ,Zhi Chi 4GYi Shang De Da Wen Jian
  • Wen Ding ,Wan Bei De Liu Liang Kong Zhi He Yong Sai Kong Zhi Bao Zheng Ke Yi Gua Ying Ge Chong Bo Dong He E Lie De Wang Luo Huan Jing
  • Bing Fa ,Zhi Chi Duo Yong Hu Tong Shi Shang Chuan He Xia Zai Wen Jian
  • Jian Bian ,Wu Xu E Wai Pei Zhi ,Kai Xiang Ji Yong
  • Qiang Da ,Zhi Chi Nei Wang Chuan Tou ,Chu Yu Ren Yi Nei Wang Ke Hu Duan Du Ke Yi Xiang Gong Wang Fu Wu Duan Fa Song He Huo Qu Wen Jian

Design

Design-doc.md

Test

Test-doc.md

Release

LFTP V1.0.1

  • Tian Jia Chao Da Wen Jian Ce Shi

  • Gai Jin Wen Jian IOFang Fa ,Ti Gao Xie Ru Su Du ,Yi Geng Da Li Du Du Qu Wen Jian ,Zeng Jia IOHuan Cun

  • Gai Jin Jin Du Tiao Zhan Yong Zi Yuan He Xian Shi

  • Jian Shao Wen Jian Chuan Shu Shi Zi Yuan Xiao Hao

  • Xiu Fu Bu Neng Zhi Chi 2GBYi Shang Wen Jian De BUG

  • Zeng Jia Fa Song Huan Chong Qu Da Xiao

  • Xiu Fu Yi Xie Xiao Wen Ti

LFTP V1.0.0

  • Ji Ben Gong Neng Shi Xian

About

Large File Transfer Protocol base UDP

Resources

Readme

License

Apache-2.0 license

Stars

Watchers

Forks

Packages

Contributors

Languages