JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 07.02.2021, 05:19
antekgla antekgla is offline
Vacuum Cleaner
 
Join Date: Nov 2013
Posts: 18
Default k2s Check if file is present in Download Folder BEFORE request it to Filehost

Hi,
Would be nice if JD check if the file is present in the Download folder BEFORE request that file to filehost.

I note what the current behavior is:

- JD request the file to Filehost.
- JD begins to download the file.
- When JD try to write the file to Download folder it realize what that file exist.
- Pop Up windows appears asking action with that file.

Sadly with this behavior some filehosters (K2S for example) deduct the COMPLETE FILE SIZE from user quota. So if you try to download a 5 GB file you downloaded before, that 5 GB are deducted from your daily quota even if JD don't download a single byte.

I KNOW WHAT I SHOULD CHECK IF I DON'T HAVE THE FILE PRIOR TO ADD TO JD, BUT SOMETIMES HAPPENS THIS STUPID SITUATION and would be nice if JD let me know in advance.

Thanks!
Reply With Quote
  #2  
Old 07.02.2021, 06:06
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,611
Default

highly depends on your settings and hoster (if they provide verified filesize and or checksums) to compare against

settings > advanced settings > filter: mirror

more on this, historically covered please do the following google search:
Code:
mirror site:board.jdownloader.org
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #3  
Old 07.02.2021, 06:34
antekgla antekgla is offline
Vacuum Cleaner
 
Join Date: Nov 2013
Posts: 18
Default

Thanks for the answer but I try all options (Safe, Auto, Filename_Filesize and Filename) for Mirror Detection Decision an none solve the problem of total filesize deducted from quota even when I choose: Skip File.

I think what mirror option is when you try to download the same file from different filehosters at the same time. My problem is when I have already downloaded the file and it is complete in my Download folder and later (days or weeks later) I try to download it again.

Last edited by antekgla; 07.02.2021 at 06:38.
Reply With Quote
  #4  
Old 07.02.2021, 21:24
antekgla antekgla is offline
Vacuum Cleaner
 
Join Date: Nov 2013
Posts: 18
Default

If someone is trying to check this behavior please take in consideration what K2S deduct the quota only once between 24 hs.
That means if you download a file of 2 GB and before your quota is reset is downloaded again only 2 GB are deducted of your quota.
Even if you download the file 10 times (always what your quota is not reset) only ONCE is deducted.
When your quota is reset, if you download that file again hence is again deducted from your quota.

I say this because if someone is try to replicate this situation please do this way:

- Download a file (small if you don't want lose quota)
- Wait to your quota is reseted.
- Try to download the file again (without erase the previous file)
- JD tell you what the file exist and if you want skip or rename. Choose Skip
- Check your quota and you would see what the ENTIRE FILE SIZE was deducted.
Reply With Quote
  #5  
Old 08.02.2021, 15:55
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,921
Default

Hi,

there was a small bug in our k2s plugin which will fix this issue after the next update.
In general, the default handling will work fine as long as JD knows a "safe filename" before trying to download -> This is not the case for all websites but for k2s it is.

Your issue was not the mirror handling.
EDIT

If you are having the same issue with other filehosts that might not set a "safe filename", enable this advanced setting:
Code:
GeneralSettings.allowunsafefilenameforfileexistscheck
Wartest du auf einen angekündigten Bugfix oder ein neues Feature?
Updates werden nicht immer sofort bereitgestellt!
Bitte lies unser Update FAQ! | Please read our Update FAQ!

---
Are you waiting for recently announced changes to get released?
Updates to not necessarily get released immediately!
Bitte lies unser Update FAQ! | Please read our Update FAQ!


-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?

Last edited by pspzockerscene; 08.02.2021 at 16:17.
Reply With Quote
  #6  
Old 08.02.2021, 20:00
antekgla antekgla is offline
Vacuum Cleaner
 
Join Date: Nov 2013
Posts: 18
Default

Thanks for the fix!!!!!
Reply With Quote
Reply

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 19:34.
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 - 2024, Jelsoft Enterprises Ltd.