JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 05.05.2019, 04:23
RPNet-user RPNet-user is offline
Linkgrabbing Monster
 
Join Date: Apr 2017
Posts: 81
Default Info-File in the Download-Folder

From the sample event script "create an Info-File in the Download-Folder with detailed information", where is this file created? because after testing a download twice, i could not find the file anywhere unless this is just referring to the linkcollector and downloadlist zip files that contain all that information in text.
Reply With Quote
  #2  
Old 06.05.2019, 12:52
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 612
Default

Quote:
Originally Posted by RPNet-user View Post
From the sample event script "create an Info-File in the Download-Folder with detailed information", where is this file created? ...
Default location for file is the download folder for that package:
Code:
sInfoFilePath = myPackage.getDownloadFolder() + "/" + myPackage.getName() + sInfoFileType; //<packageFolder>/<packageName>.<iContent>.info

Quote:
Originally Posted by RPNet-user View Post
.. because after testing a download twice, i could not find the file anywhere ...
The file is created only if link/package comment or archive password is present:
Code:
var iContent = 0; //setting bit 1 if pwd is available, setting bit 2 if comments available //if not set, no info file

That behavior can be changed by modifying this line:
Code:
if (bWriteFile == true && iContent > 0) { //comment out or set "iContent >= 0" if info-file should be written always
Reply With Quote
  #3  
Old 06.05.2019, 21:58
RPNet-user RPNet-user is offline
Linkgrabbing Monster
 
Join Date: Apr 2017
Posts: 81
Default

ok thank you
Reply With Quote
  #4  
Old 07.05.2019, 08:18
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 65,456
Default

Thanks @mgpai for fast help!
__________________
JD-Dev & Server-Admin
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 09:25.
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.