Thanks for your feedback. I was aware that you were doing something similar, but since I need this for my own site, I just developped my own.
Yes I know... But I have got it working quite stable, and I am thoroughly testing it on my site at the moment.
I think the way Jason implemented it in this forum is very clever: you upload one attachment at a time. The file is stored at a temporary place, and the information about the file in a temporary table. When the post (or link in my case) is added/modified, the file is copied to the permanent location. Entries which are older than a day are deleted from the temporary table, and with them the corresponding uploaded files (which are files that were uploaded, but the post/link was never submitted...).
Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote:
There are a lot of issues to work out in handling attachments, and multiple attachments :) It's not as easy as it might appear.Yes I know... But I have got it working quite stable, and I am thoroughly testing it on my site at the moment.
I think the way Jason implemented it in this forum is very clever: you upload one attachment at a time. The file is stored at a temporary place, and the information about the file in a temporary table. When the post (or link in my case) is added/modified, the file is copied to the permanent location. Entries which are older than a day are deleted from the temporary table, and with them the corresponding uploaded files (which are files that were uploaded, but the post/link was never submitted...).
Ivan
-----
Iyengar Yoga Resources / GT Plugins