Deleting of temporary files during upload on 5.x

6 views
Skip to first unread message

Alexander Obuhovich

unread,
Jul 2, 2012, 4:52:33 AM7/2/12
to In-Portal Bugs
Here is how flash uploader works in In-Portal:
  1. image is uploaded in /system/tmp/ folder
  2. images, older then 1 day are deleted from /system/tmp/ folder (if user uploaded image, but never submitted a form)
  3. image thumbnail is generated in /system/tmp/resized/ folder
  4. image is moved from /system/tmp to /system/images/final_location_folder
There is clearly 1 item missing where images older then 1 day are deleted from /system/tmp/resized/ folder as well.


--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com

Dmitry A.

unread,
Jul 6, 2012, 1:36:38 AM7/6/12
to in-port...@googlegroups.com
Would you please create a task here?

DA

Alexander Obuhovich

unread,
Jul 9, 2012, 12:31:51 PM7/9/12
to in-port...@googlegroups.com
Task: http://tracker.in-portal.org/view.php?id=1344


On Fri, Jul 6, 2012 at 8:36 AM, Dmitry A. <dand...@gmail.com> wrote:
Would you please create a task here?

DA

--
You received this message because you are subscribed to the Google Groups "In-Portal Bugs Team" group.
To view this discussion on the web visit https://groups.google.com/d/msg/in-portal-bugs/-/hARGXKOMvWEJ.
To post to this group, send email to in-port...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-bug...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.

Alexander Obuhovich

unread,
Oct 10, 2012, 5:51:38 AM10/10/12
to in-port...@googlegroups.com
Here is the patch.


Ready for testing.
delete_temp_resized_files_fix.patch
Reply all
Reply to author
Forward
0 new messages