Upload Folder and user-specific image files. Please send help.....

Last post 03-09-2005, 10:43 AM by Adam. 2 replies.
Sort Posts: Previous Next
  •  03-08-2005, 3:54 AM 4460

    Upload Folder and user-specific image files. Please send help.....

    I have search the forum for posts that pertain to creating a site and using the Cute Editor ASP version where all users share the same upload folder. Is there a way to partition the upload folder such that there is no need to created additional folders to support the many users signed up to the site and are using the Cute Editor application.
     
    For example, is there a Cute Editor property like prefix whereby a unique identifier of that person could be assigned. The assignment of a user-specific prefix would allow for the images to contain the prefix and in-turn, the Cute Editor would only show the files uploaded specifically be the user. In addition, the file names would be that of the one originally upload, i.e. the prefix is stripped off.
     
    I hope this is clear as I am typing this a 1am my time.
  •  03-09-2005, 9:58 AM 4487 in reply to 4460

    Re: Upload Folder and user-specific image files. Please send help.....

    Anyone with experience in multi-user file partitioning? Need some help keepng my image files seperate for all users but without creating a folder for every user.
  •  03-09-2005, 10:43 AM 4491 in reply to 4487

    Re: Upload Folder and user-specific image files. Please send help.....

     
    If you are familar with ASP, it's easy to achieve that by modifying the source code.
     
    For example, in you page, you get the User identifier by Session("UserName").

    1. When you upload the images/flash/document/media, you can add a user-specific prefix.

    Example:

    myexample.jpg will rename to Tim_myexample.jpg or Rob_myexample.jpg based on the current user identifier.

    1.In the browse_image.asp,browse_flash.asp,browse_media.asp and browse_document.asp.
     
    You need to modify the code based on the following logic.
     
    a. for the admin users, you may want to show all the files.
    b. for the members, you want to show files specific to this user.
     
    For example, for user Tim, he should able to see the Tim_****.jpg, Tim_****.gif, Tim_****.bmp instead of Rob_****.jpg, Rob_****.gif, Rob_****.bmp.
     
    Hope it helps.

    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

View as RSS news feed in XML