orzogc / fake115uploader

模拟115网盘客户端的上传功能
GNU General Public License v3.0
256 stars 55 forks source link

通过 rclone 挂载的硬盘不能上传文件夹 #46

Closed lloyd18 closed 3 months ago

lloyd18 commented 1 year ago

上传 rclone 挂载硬盘的文件是可以的,但文件夹不行 上传本地硬盘的文件夹正常, 大佬有空看看问题出在哪吧,谢谢!

root@debian:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            974M     0  974M   0% /dev
tmpfs           199M  816K  198M   1% /run
/dev/vda1        40G  4.7G   33G  13% /
tmpfs           992M   16K  992M   1% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           199M     0  199M   0% /run/user/0
gd1{jTRHh}:     2.0T   42G  2.0T   3% /opt/gd1
root@debian:~# fake115uploader -l /root/go/bin/115_1.json -m -e -recursive /opt/gd1/20230111_II
2023/02/03 02:37:45 秒传模式上传文件:/opt/gd1/20230111_II/path_la-2_20230203_000013.tar.gz
2023/02/03 02:37:47 秒传模式上传 /opt/gd1/20230111_II/path_la-2_20230203_000013.tar.gz 出现错误:fastUploadFile() error: uploadFileSHA1() error: hashSHA1() error: read /opt/gd1/20230111_II/path_la-2_20230203_000013.tar.gz: input/output error
2023/02/03 02:37:47 现在开始使用断点续传模式上传
2023/02/03 02:37:47 断点续传模式上传文件:/opt/gd1/20230111_II/path_la-2_20230203_000013.tar.gz
2023/02/03 02:37:47 断点续传模式上传 /opt/gd1/20230111_II/path_la-2_20230203_000013.tar.gz 出现错误:multipartUploadFile() error: getBucket() error: bucket name  len is between [3-63],now is 0
2023/02/03 02:37:48 秒传模式上传文件:/opt/gd1/20230111_II/path_la-2_20230203_010010.tar.gz
2023/02/03 02:37:50 秒传模式上传 /opt/gd1/20230111_II/path_la-2_20230203_010010.tar.gz 出现错误:fastUploadFile() error: uploadFileSHA1() error: hashSHA1() error: read /opt/gd1/20230111_II/path_la-2_20230203_010010.tar.gz: input/output error
2023/02/03 02:37:50 现在开始使用断点续传模式上传
2023/02/03 02:37:50 断点续传模式上传文件:/opt/gd1/20230111_II/path_la-2_20230203_010010.tar.gz
2023/02/03 02:37:50 断点续传模式上传 /opt/gd1/20230111_II/path_la-2_20230203_010010.tar.gz 出现错误:multipartUploadFile() error: getBucket() error: bucket name  len is between [3-63],now is 0
2023/02/03 02:37:51 秒传模式上传文件:/opt/gd1/20230111_II/path_la-2_20230203_020011.tar.gz
2023/02/03 02:37:58 秒传模式上传 /opt/gd1/20230111_II/path_la-2_20230203_020011.tar.gz 出现错误:fastUploadFile() error: uploadFileSHA1() error: hashSHA1() error: read /opt/gd1/20230111_II/path_la-2_20230203_020011.tar.gz: input/output error
2023/02/03 02:37:58 现在开始使用断点续传模式上传
2023/02/03 02:37:58 断点续传模式上传文件:/opt/gd1/20230111_II/path_la-2_20230203_020011.tar.gz
2023/02/03 02:37:58 断点续传模式上传 /opt/gd1/20230111_II/path_la-2_20230203_020011.tar.gz 出现错误:multipartUploadFile() error: getBucket() error: bucket name  len is between [3-63],now is 0
上传成功的文件(0):
上传失败的文件(3):
/opt/gd1/20230111_II/path_la-2_20230203_000013.tar.gz
/opt/gd1/20230111_II/path_la-2_20230203_010010.tar.gz
/opt/gd1/20230111_II/path_la-2_20230203_020011.tar.gz
free-150 commented 1 year ago

我是使用这样的参数:

fake115uploader -r ./115fake -recursive -a -u /path/to/dir

会提示:

2023/06/19 17:24:06 秒传模式上传 /path/to/dir/file.zip 出现错误:fastUploadFile() error: uploadFileSHA1() error: hashSHA1() error: read /path/to/dir/file.zip: invalid argument

也不知道为什么会提示无效参数