Skip to content

Large file transfer is not reliable. #287

@helloSpookle

Description

@helloSpookle

Describe the bug
Large file transfer is not reliable.
大文件传输不可靠。

To Reproduce
Steps to reproduce the behavior:

  1. Start service on a phone and connect from PC Web Browser
    在手机上启动服务,并在PC上通过浏览器连接
  2. Click on 'Files' to access files on the phone, and select a folder to store new files, e.g. /path
    选择手机上一个合适的位置存储文件,例如/path
  3. Click on Upload -> Upload Folder. "Uploading File" also makes sense, but "Uploading Folder", especially a folder with several multi-media files, is easier to reproduce.
    选择上传文件夹。上传单个文件亦可,但上传包含多个大型媒体文件的文件夹,复现率更高。
  4. Select a folder which contains one or more large files, e.g. the opus file in the link below. Don't forget to copy it a few times on PC. https://drive.google.com/file/d/1GkIEO9WpnVvqcl1QEhhIxudl9CCtA3uP/view?usp=sharing
    选择一个文件夹,如果手头没有合适的文件,可以下载链接中的opus文件,并利用复制功能或PC文件系统的链接功能创建多个副本
  5. Wait for transfer to be done.
    等待传输结束后
  6. Check the new file on the phone. Sometimes its size suggests the problem obviously; calculate its MD5 checksum if not.
    检查手机上收到的文件。有时从文件体积就能看出文件不一致,如果体积与原始文件接近,可以计算MD5校验和。

Expected behavior
Large files are also should be transfered fully and correctly.

Desktop (please complete the following information):

  • OS: [Windows 10]
  • Browser [Chromium]
  • Version [138.0.7204.298]

Smartphone (please complete the following information):

  • Device: [Redmi Note12T Pro & Vivo Y200t]
  • OS: [Android 13 & 14]
  • App Version: [3.0.1 & 2.1.22]

Additional context
The file in the link is much easier to reproduce this problem on my device. I have no idea what makes differences.
GD链接中的文件今天在我的设备上测试的时候反复尝试多次,它和它同目录下的其他5个音频文件问题复现率很高。其他视频和音频过去也有发生过,但当时没有记录,体感上故障文件数的比例会比较低。 暂时没有找到确切的原因。

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions