View Issue Details

IDProjectCategoryView StatusLast Update
0017813phpList 3 applicationAll Otherpublic03-12-15 11:44
Reporterrata 
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionno change required 
Product Version3.0.12 
Target Versionnext minorFixed in Version 
Summary0017813: clean up temporary files after use
DescriptionWhen running phplist, several files are created on /tmp and never deleted.

Files like:

phpList Demo-export1429785080YBQP6w
or
importphpList Demo1437248388
or
csvimportphpList Demo1428761276

(but tons of those)

Can they be removed when unsued by the app ? :)
TagsNo tags attached.

Activities

michiel

03-12-15 11:41

manager   ~0057374

export does clean up the file after use: https://github.com/phpList/phplist3/blob/master/public_html/lists/admin/actions/export.php#L75

However, if the process is interrupted, this will fail.

michiel

03-12-15 11:43

manager   ~0057375

Import will try to remove the temp file as well:

https://github.com/phpList/phplist3/blob/master/public_html/lists/admin/inc/importlib.php#L38