"Uploads" path information

Last post 05-14-2004, 5:04 AM by HalRau. 5 replies.
Sort Posts: Previous Next
  •  05-05-2004, 10:41 AM 747

    "Uploads" path information

    Hi,

    I am trying to get the "Uploader" to work for images and documents and have a question regarding the path information. In the CuteEditor code I see a "/Uploads" folder in the "editor.ImageGalleryPath" line. I have setup an "Uploads" folder on my server above the www folder.

     

    The actual path information goes something like this C:\inetpub\wwwroot\ABC\uploads\. Is this the information I need to insert in the above "editor.ImageGalleryPath" line and elsewhere on the "browse_Document.asp" and "browse_img.asp" files or do I need to only change something called "GP" somewhere?

  •  05-05-2004, 2:43 PM 751 in reply to 747

    Re: "Uploads" path information

    HalRau ,

     

    You only need to configure the ImageGalleryPath property. The value of  ImageGalleryPath must be a virtual path as followings:

     

    editor.ImageGalleryPath   = "/uploads"

    editor. ImageGalleryPath   = "/photos"

     

     


    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-06-2004, 10:28 AM 766 in reply to 751

    Re: "Uploads" path information

    Thanks Adam. I'll have my server administrator set that up.
  •  05-11-2004, 10:12 AM 803 in reply to 751

    Re: "Uploads" path information

    Hello Adam,

    I am the system admin for where HalRau is trying to use the "uploader" portion of CuteEditor for ASP v2.0. You said that the virtual path will work. In my testing and trying to get it to work with a virtual folder, it will not. The code uses the file system object and it tried to open a actual physical folder named "uploads" ( or whatever we name it ) and can not see the virtual folder since that is only visiable through the web server. The "real" uploads folder is outside of the web root folder since we do not want to give anonymous users write access under our web root, that would be a major security risk.  

     

    Is there some update or work around to make it work properly with virtual folders (folder that really aren't there but are somewhere else)? I see where you use the FSO to open the folder and you pass the routine a parameter of "spec". Is it possible to "hard-code" this value to the real physical address or will that cause problems elsewhere?

  •  05-11-2004, 11:26 AM 804 in reply to 803

    Re: "Uploads" path information

    Hi,

     

    Is there some update or work around to make it work properly with virtual folders (folder that really aren't there but are somewhere else)?

     

    Yes, you can. For example, you create a virtual directory in your IIS named myimagesfolder and points it to D:\myfolder\domainname.

     

    You only need to configure the ImageGalleryPath property as followings:

     

    editor.ImageGalleryPath   = "/myimagesfolder "

     

     Is it possible to "hard-code" this value to the real physical address or will that cause problems elsewhere?

     

    Yes,  it is possible.

     

    You need make changes to the insert_image.asp page.

     

    <%

          Response.Expires = -1

         Dim ImageGalleryPath

         ImageGalleryPath = Request.QueryString("GP")  ' hard-code your image gallery path here

    %>

     

    By the way, version 2.2 is out!

     

    Check it out.

     

    Http://cutesoft.net/asp

     

    Please email us with the address that that originally purchased it.

     


    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-14-2004, 5:04 AM 837 in reply to 804

    Re: "Uploads" path information

    Adam,

     

    I tried e-mailing you by clicking on the "e-mail" button in the forum but get the following error message, " 

    Server Error in '/' Application.

    Parser Error

    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

    Parser Error Message: ?"

     

    I would like to get the latest version for CuteEditor ASP.

     

    Thanks


View as RSS news feed in XML