Open Bug 1487342 Opened 6 years ago Updated 2 years ago

Downloading a large file to a network share corrupts and truncates the file

Categories

(Firefox :: File Handling, defect, P3)

61 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: fun.note8540, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0
Build ID: 20180807170231

Steps to reproduce:

Download a relatively large file to an SMB share, for example the 390MB "Java 10.0.2 Windows JDK" from 

http://www.oracle.com/technetwork/java/javase/downloads/jdk10-downloads-4416644.html




Actual results:

Though the download seems to complete successfully, the downloaded file is significantly smaller then expected (size varies, 160MB, 200MB) and also corrupted from a certain point on.

The Firefox console displays the following error:

Win error 2 during operation open on file \\?\U:\Downloads\jdk-10.0.2_windows-x64_bin.exe:Zone.Identifier (Das System kann die angegebene Datei nicht finden.) DownloadIntegration.jsm:512

downloadDone resource://gre/modules/DownloadIntegration.jsm:512:11
throw self-hosted:1236:9 



Expected results:

The file should be downloaded OK even to an SMB network share.

Corruption and truncation does not happen when the file is downloaded to a local NTFS filesystem.
Hi,
I am unable to reproduce this issue since I do not have access to an SMB network share but I think the File Handling component is a good place to start for this issue.
Component: Untriaged → File Handling
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.