JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 25.08.2010, 18:25
FBD
Guest
 
Posts: n/a
Question Question: Why does JDownloader save all captcha images??

Im curious for quite some time now:

Why does JDownloader save all captcha images??

every now and then i delete several hundets of files in my ~/jd_home/captchas folder... in which all captcha images are saved...

why is that and are they needed anymore???
just for the possibility the same captcha could come up again? if so - does jd remembers the captcha-solution?

atm im thinking about a cron-job to periodically delete all those images...
any reason not to do it?

greetz

edit: if they are not needed anymore it would be nice to have an option so jd deletes those unneeded files automatically....

Last edited by Jiaz; 26.08.2010 at 11:12.
Reply With Quote
  #2  
Old 25.08.2010, 18:33
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 66,134
Default

jd does delete all captchas itself. only if jd does not exit normally the images gets not deleted. the jvm deletes the files.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 25.08.2010, 18:51
FBD
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Jiaz View Post
jd does delete all captchas itself. only if jd does not exit normally the images gets not deleted. the jvm deletes the files.
actually this is not an answer to my question why jd saves those files at all... but for a program like jdownloader - which is intended to run 24/7 - imho its pretty bad to only clean up unused files on a "clean" exit.... if i let jdownloader run for a week... my home partition gets filled with old captcha images??? (that they will be deleted on a clean exit wont make it better!)

will get that cron job started to take care of it...

greetz
Reply With Quote
  #4  
Old 26.08.2010, 05:34
Warhaven
Guest
 
Posts: n/a
Default

Oh really? I thought it was a heuristic thing for learning captchas.
Reply With Quote
  #5  
Old 26.08.2010, 11:12
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 66,134
Default

__________________
JD-Dev & Server-Admin
Reply With Quote
  #6  
Old 26.08.2010, 14:07
bici-boci bici-boci is offline
JD Legend
 
Join Date: Mar 2009
Posts: 753
Default

Quote:
Originally Posted by Jiaz View Post
From the bugtracker:

Updated by Greeny about 1 hour ago

jiaz wrote:

... don't save captcha to disk or delete it after anticaptcha

the captcha files received with the Plugin#getLocalCaptchaFile() has already the deleteOnExit() flag enabled! so which captcha files do you talk about?

deleteOnExit() flag : too late, I think
Reply With Quote
  #7  
Old 01.09.2010, 06:46
FBD
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by bici-boci View Post
the captcha files received with the Plugin#getLocalCaptchaFile() has already the deleteOnExit() flag enabled! so which captcha files do you talk about?
well even after exiting jd "normally" - there are always a few hundred captcha-images left in my "captchas"-folder.... so i think they wont be deleted anyway!

Quote:
Originally Posted by bici-boci View Post
deleteOnExit() flag : too late, I think
copy that!
captcha solved - kill it with fire!

edit: btw the exact same thing happens to all dlcs from linksave, urlcrypt etc... they are all left in the tmp folder.. even for files finished several days and restarts ago....!!

greetz

Last edited by FBD; 01.09.2010 at 07:00.
Reply With Quote
  #8  
Old 01.09.2010, 10:06
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 66,134
Default

deleteOnExit means they will get deleteted when vm shuts down. in case jd gets killed those files will not get deleted and those are the files that you still can see in tmp folders then.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #9  
Old 11.03.2011, 02:53
GhostLyrics
Guest
 
Posts: n/a
Default

I am truly sorry to unearth this posting but on my Mac the captchas are not deleted. Is this the default behavior of the nightly version or should I file a bug?
Reply With Quote
  #10  
Old 11.03.2011, 10:42
remi
Guest
 
Posts: n/a
Default

In theory they should be deleted when you exit jD but that doesn't always happen.

You can file a bug but I think it's already known. The Bug #2305 "delete captcha" should be opened again.
Reply With Quote
  #11  
Old 11.03.2011, 13:52
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 66,134
Default

there has been a bug i already found and fixed, wait for next nightly
__________________
JD-Dev & Server-Admin
Reply With Quote
  #12  
Old 02.05.2012, 22:57
Champ
Guest
 
Posts: n/a
Default Still not deleting

Hate to say it but this is still a problem, these files are not deleted, yes proper exit included.

Was cleaning up some old files from my drive and wondered why jdownloader was 274 Mb big, thought it was backups (only 6 Mb) but turned out to be 208 Mb big captchas folder with, wait for it… 71.607 files in it! (Kinda sad seeing that I've solved that many captchas over the years, what an incredible waste of time)

jdownloader version: 0.9.581 running on Mac OS X 10.7.3
Reply With Quote
  #13  
Old 03.05.2012, 00:14
Xavyer
Guest
 
Posts: n/a
Default

Nightly and Stable wont get an Update anymore (only Plugin Updates like the last Years). Pre Beta of JD2 is out, and Devs only work on JD2.
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 03:54.
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.