Skip to content

learner-ing/upfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

upfile

服务器使用nc接收文件 nc -lvvp 8888 >file.tar.gz

客户端上传文件 upfile -dir /var/www -host 192.168.1.1:8888

upfile -dir /var/www -host 192.168.1.1:8888
upfile -dir /var/www -host 192.168.1.1:8888 -err flase
upfile -dir /var/www -host 192.168.1.1:8888 -skip "/var/www/log,/var/www/upload,.pdf,.png"
  -dir string
        Compressed folder,[/var/www]
  -err
        Exit in case of exception,Default true (default true)
  -host string
        Server IP port,[192.168.1.1:8888]
  -skip string
        skip folder

下个版本将添加的功能
排除文件后缀

已知bug:Linux下上传的文件在windows上解压会出现数字目录,但在Linux下解压就没问题。

About

将文件或文件夹压缩上传至服务器

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages