25 Feb
2006
25 Feb
'06
10:56 a.m.
Darrel O'Pry wrote:
I've made some more headway, but ran into one of those collateral issues....
php has its own garbage collection for upload_tmp_dir.... Since my solution requires moving a file out of php's upload_tmp_dir to Drupal's tmp dir, functions that quit or don't complete leave a hanging file in drupal's tmp dir...
Is system_cron a good place for this garbage collection?
IMHO functions which can detect malfunctions should remove the uploaded files (ie. my patch included a file remove action for the locale upload, since the file is not needed after the import is done). Unexpected halts will leave files there, for sure... Hm... Goba