Re: Unique file name on upload

  •  05-04-2006, 6:43 AM

    Re: Unique file name on upload

    So this feature will not be included in the asp version?  The main problem I see with this is that if I upload 2 images names logo.gif, they replace each other.  This causes a huge problem.  Do you know of any way that I can make the file name uploaded the date stamp just like the .net version?  Could I customize a file within Cute Editor to allow this feature?  Where would I do the customization?
     Adam wrote:
    epicweb,
     
    This feature is only supported in the .NET version. We will include it in the ASP version.
     
    In CuteEditor for .NET, we offer two solutions:
     
    1. If the CuteEditor security policy file, developer can set the following setting:
     
    <security name="OverWriteExistingUploadedFile">false</security>
     
    If the file is already available when uploading, CuteEditor won't allow the file is uploaded.
     
    2. Renaming images based on the time the file was uploaded

    In some situations, the developers need to reename images based on the time the file was uploaded. With Cute Editor, you can easily rename images with a time date stamp the file was uploaded.
     
    The unique identifier used in the generated file name has the following format:
    YYYYMMDDHHMMSS+3 Random numbers
     
    Where YYYY, MM, DD is the year, month and day; HH, MM, SS is hours, minutes and seconds.
     
    Renaming images based on the time the file was uploaded
     
     

     
View Complete Thread