Unique file name on upload

Last post 05-04-2006, 6:43 AM by epicweb. 2 replies.
Sort Posts: Previous Next
  •  05-03-2006, 10:21 PM 18794

    Unique file name on upload

    How can I get a unique file name on upload?
  •  05-04-2006, 2:10 AM 18799 in reply to 18794

    Re: Unique file name on upload

    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
     
     

     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  05-04-2006, 6:43 AM 18805 in reply to 18799

    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 as RSS news feed in XML