TouchSocket icon indicating copy to clipboard operation
TouchSocket copied to clipboard

Can't start transfer while the file size over 11GB.

Open Chaos-s opened this issue 3 years ago • 4 comments

The Transfer can't work with huge size files.

Chaos-s avatar Feb 07 '22 10:02 Chaos-s

Please describe your problem in detail and show some useful code as much as possible so that I can quickly locate the problem.

RRQM avatar Feb 07 '22 12:02 RRQM

image 使用的是Demo里面的内容,发现只要任务文件大于10GB,比如图片里的是一个12G文件,传输无法启动,就停在这里了。

Chaos-s avatar Feb 08 '22 11:02 Chaos-s

Please describe your problem in detail and show some useful code as much as possible so that I can quickly locate the problem.

RRQM大大你好,如图

Chaos-s avatar Feb 08 '22 12:02 Chaos-s

理论上应该不会出现这样的问题,但是需要注意的是,文件在传输之前都需要进行验证,设置属性在fileRequest.FileCheckerType,默认情况下是MD5验证,所以,当文件太大时,可能执行时间太长而导致的,你可以多等一会时间,或者设置fileRequest.FileCheckerType = FileCheckerType.None;

RRQM avatar Feb 08 '22 13:02 RRQM