#1
|
||||
|
||||
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.
|
#2
|
|||
|
|||
Quote:
Code:
sInfoFilePath = myPackage.getDownloadFolder() + "/" + myPackage.getName() + sInfoFileType; //<packageFolder>/<packageName>.<iContent>.info Quote:
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 |
#3
|
||||
|
||||
ok thank you
|
#4
|
||||
|
||||
Thanks @mgpai for fast help!
__________________
JD-Dev & Server-Admin |
#5
|
|||
|
|||
Sorry to revive an old topic, but is there a way to add the date and time the package was added to the download list and the date and time it finished downloading?
|
#6
|
||||
|
||||
It makes more sense in adding this information to eg comment of the package.
When you modify the package name, this might also rename the folder on disk
__________________
JD-Dev & Server-Admin |
Thread Tools | |
Display Modes | |
|
|