You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
zhanglei fc85b58ecb initial commit 10 months ago
DLLs initial commit 10 months ago
Lib initial commit 10 months ago
Scripts initial commit 10 months ago
__pycache__ initial commit 10 months ago
build/SnailSend initial commit 10 months ago
dist initial commit 10 months ago
include initial commit 10 months ago
libs initial commit 10 months ago
tcl initial commit 10 months ago
web initial commit 10 months ago
LICENSE initial commit 10 months ago
LICENSE.txt initial commit 10 months ago
NEWS.txt initial commit 10 months ago
README.txt initial commit 10 months ago
SnailSend.exe initial commit 10 months ago
SnailSend.spec initial commit 10 months ago
gc.exe initial commit 10 months ago
icon.ico initial commit 10 months ago
main.py initial commit 10 months ago
main.py.bak initial commit 10 months ago
p2pfile.py initial commit 10 months ago
python.exe initial commit 10 months ago
python3.dll initial commit 10 months ago
python313.dll initial commit 10 months ago
pythonw.exe initial commit 10 months ago
sc.exe initial commit 10 months ago
send.ini initial commit 10 months ago
service.ini initial commit 10 months ago
vcruntime140.dll initial commit 10 months ago
vcruntime140_1.dll initial commit 10 months ago

README.txt

windows 开启xftp(目前版本: frp_0.53.2_windows_amd64 )
在./P2PfilePython文件夹下右击打开终端

#发送命令 (windows)

python.exe .\p2pfile.py --mode send --host 127.0.0.1 --port 7001 --path D:\navidrome-data.zip --psk 123456@@

#接收命令 (windows)

python.exe .\p2pfile.py --mode recv --host 47.97.6.201 --port 6000 --outdir ./ --psk 123456@@

python3 ./p2pfile.py --mode recv --host 127.0.0.1 --port 6000 --outdir ./ --psk 123456


参数说明:
--mode", choices=["send", "recv"], required=True)
--host", help="接收端IP (send模式必需)")
--port", type=int, required=True)
--path", help="要发送的文件/目录 (send模式必需)")
--outdir", help="接收保存目录 (recv模式必需)")
--rate", help="限速,例: 500K, 5M(每连接)")
--psk", required=True, help="预共享密钥,用于保证不被串口,可自定义")
--conn", type=int, default=4, help="并行连接数,默认 4")
--part-size", type=int, default=64, help="分片大小(MB),默认 64")