JDownloader Community - Appwork GmbH

Thread Tools Display Modes
Old 12.01.2019, 08:16
Luke M Luke M is offline
Wind Gust
Join Date: May 2012
Posts: 42
Default Archive (HJ_SPLIT) required file count reduced by plugin rename

When a plugin renames a file, this can cause the archive (HJ_SPLIT) required file count to be reduced from (for example) 3 to 2. This causes extraction to mysteriously fail.

Example: with solidfiles.com, spaces are replaced by underscores. So "test 1.zip.001" becomes "test_1.zip.001" when the download starts. If all parts are downloaded at the same time, there's no problem. The problem occurs when only the first two parts are started.

My workaround is to pre-rename the files:
// Description: Replaces spaces with underscores in filenames
// Event Trigger: Packagizer Hook

if (/.*solidfiles\.com.*/.test(link.getURL())) {
    link.setName(link.name.replace(/ /g, "_"));

Last edited by Luke M; 12.01.2019 at 10:05.
Reply With Quote
Old 12.01.2019, 08:44
raztoki's Avatar
raztoki raztoki is offline
English Supporter
Join Date: Apr 2010
Location: Australia
Posts: 15,966

Thanks for your report! Plugins have the ability specify filename character which get renamed by provider, this allows mirror handling within JD to work correctly and subsequently extraction. By the quick look solidfiles plugin lacks this currently
raztoki @ jDownloader reporter/developer

Don't fight the system, use it to your advantage. :]

Last edited by raztoki; 12.01.2019 at 08:47.
Reply With Quote
Old 22.01.2019, 12:29
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
Join Date: Mar 2009
Location: Germany
Posts: 59,067

Can you please provide some example links/archives. Then I will take a look at it
JD-Dev & Server-Admin
Reply With Quote

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 16:35.
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 - 2019, Jelsoft Enterprises Ltd.