wayner
Posts: 37
|
| Posted: 08/04/2005, 1:11 PM |
|
Using ASPUpload I am able to upload images and display them in my web application because I do not need to know the datestamp attached to the filename i.e. filename+datestamp.ext; ASPUpload takes care of the naming within the database thus eliminating overwriting images with the unique date and time..
How can my end user (administrator) display an uploaded image within a document being created and stored in the database using a WYSIWYG editor insert image function if they do not know the datestamp?
Is there another upload process to allow for uploads of actual filenames without datestamps; besides FTP uploading into the specific folder?
Specifically I need my end user to be able to upload PDF's to an image or doc or pdf folder and insert into articles and displayed via a url link.
Any suggestions would be appreciated
Wayne
_________________
Have it your way, sort of!
1. You can have it fast.
2. You can have it cheap.
3. You can have it accurate.
Pick 2 out of the 3! |
 |
 |
donb
Posts: 52
|
| Posted: 08/05/2005, 5:57 AM |
|
The default filenaming scheme is good because it avoids a host of other issues with duplicate filenames. Your best bet (usually) is to stick with the default and use the database to accommodate whatever naming or lookup requirements you might have. You can store or display the 'root' filename (no timestamp) even though the file is stored with the timestamp.
But, if you really want to remove the timestamp, you can do so with the BeforeProcessFile or After ProcessFile events (most likely the 'before' event).
_________________
http://www.gotodon.com/ccbth |
 |
 |
|