Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

[Q] Implementation of File Uploads

Quote Reply
[Q] Implementation of File Uploads
Hi,

I'm working on implementing file uploads and am wondering how you would like to see it work. Here's how I am thinking of doing it:

There will be a file upload box in the admin add screen and admin add error screen only. The admin can then when adding a new record, upload an attached file. The database stores only the filename, and the admin script puts all the files in a preset directory. The files are renamed to ID.extension where extension is whatever it was when the file was uploaded.

When modifying, the admin can not re upload the file. This might cause problems when you need to modify a record and don't want to upload a new file. So if the admin needs to change the file, they need to use FTP.

Users can attach a file when adding a link, and that file is saved in a non viewable upload directory. It is subsequently moved over to the viewable directory when it is validated.

If a user modifies a record, they can upload a new file, but it will still be held in the validation bin waiting to be approved.

Any comments/ideas? =)

Cheers,

Alex
Subject Author Views Date
Thread [Q] Implementation of File Uploads Alex 3482 Sep 2, 1999, 7:56 AM
Post Re: [Q] Implementation of File Uploads
pugdog 3396 Sep 2, 1999, 8:47 AM
Post Re: [Q] Implementation of File Uploads
pugdog 3397 Sep 2, 1999, 11:03 PM
Post Re: [Q] Implementation of File Uploads
dearnet 3416 Sep 3, 1999, 6:54 AM
Post Re: [Q] Implementation of File Uploads
dearnet 3417 Sep 3, 1999, 9:58 AM
Post Re: [Q] Implementation of File Uploads
Alex 3400 Sep 6, 1999, 9:06 PM
Post Re: [Q] Implementation of File Uploads
pugdog 3415 Sep 9, 1999, 3:03 AM
Post Re: [Q] Implementation of File Uploads
Alex 3408 Sep 9, 1999, 7:23 AM
Post Re: [Q] Implementation of File Uploads
Bear 3415 Oct 31, 1999, 7:53 AM