JDownloader Community - Appwork GmbH
 

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 22.02.2016, 17:57
maxmaster maxmaster is offline
Bandwidth Beast
 
Join Date: Dec 2014
Posts: 139
Default OneDrive - Issue with tiny files

Example-Folder: **External links are only visible to Support Staff****External links are only visible to Support Staff**

The folder contains eight files: two bigger than 1MiB, six smaller than 1MiB.

Downloading the bigger files is working.

Downloading the smaller files fails, with JD2 "downloading" almost the whole file, just to go into a "Temporarily unavailable"-loop.

The reason for this is because the MS-server is delivering a wrong Content-Lenght header.

For example:
"Easy Ngen (.NET Framework) Runner v4.7z"
Response-Header upon downloading:
"Content-Length: 1920"

JD2 sets up a download for 1920 bytes:
Code:
--ID:31593TS:1456158152466-2/22/16 5:22:32 PM -  [jd.plugins.download.raf.OldRAFDownload(setupVirginStart)] -> Start Download in 1 chunks. Chunksize: 1920
But then...
Code:
--ID:31605TS:1456158154470-2/22/16 5:22:34 PM -  [jd.plugins.download.raf.RAFChunk(download)] -> reached EOF
--ID:31605TS:1456158154470-2/22/16 5:22:34 PM -  [jd.plugins.download.raf.RAFChunk(download)] -> towrite: -1 exClosed: false conClosed: false read:1897 written:1897
...
Code:
--ID:31593TS:1456158154472-2/22/16 5:22:34 PM -  [jd.plugins.download.raf.OldRAFDownload(handleErrors)] -> ExternalStop: false|VerifiedFilesize: 1920|FileSize: 1920|Loaded: 1897
--ID:31593TS:1456158154472-2/22/16 5:22:34 PM -  [] -> jd.plugins.PluginException: Download incomplete
	at jd.plugins.download.raf.RAFChunk.download(RAFChunk.java:350)
	at jd.plugins.download.raf.RAFChunk.run0(RAFChunk.java:577)
	at jd.plugins.download.raf.RAFChunk.run(RAFChunk.java:471)
Problem is: The download isn't incomplete. The files pass checksum-tests and extraction and everything. The Content-Lenght-value from the server is just wrong.

Curiously for the two huge downloads, there's no Content-Length-value delivered by the server, and thus there's no false "download incomplete"-error.
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 13:37.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.