well, i'm looking to find out how i can reference a folder else where on the server... not necessarily in the same site directory... (ie. outsite of the iis selected directory for that site)
here is the deal... i'm using the editor in a directory on the server as follows... d:\\Websites\SomeSite\WWW\ which iis is using for site http://www.Somesite.com
what i need the image upload and broswer to do is upload images to another directory on the server as follows... d:\\Websites\AnotherSite\WWW\ which iis is using for site http://www.AnotherSite.com
currently, the browser and upload only use the Server.Mapbath (which in this case points to http://www.Somesite.com and its directory) to upload files to the server... what i would like to do is have the uploader save the files to an absolute path on the server (ie. d:\\Websites\AnotherSite\WWW\) as well as browse the files from that location....
i prey this is more clear... need help asap... thanks...
Ah yes that's much clearer, thanks. Sorry I was away for a few days...
I don't use the built in Image Browser (I wrote my own which browses our CMS database). However you could:
a) Specify the path as relative (eg. ..\..\AnotherSite\WWW). To do this you have to have "Enable parent paths" checked in the IIS app settings.
b) Modify the browser to not do the Server.MapPath. I just took a quick look and I think it is editor\filemanager\browser\default\connectors\asp you need to edit.
sorry... got it figured out... i am creating the directory to upload the file to dynamically, and in the include i was using, i didn't Dim a couple of paramaters being passed in and it was tanking... the "test.html" pages sure came in handy...
RE: Absolute Path in ASP
RE: Absolute Path in ASP
I know there is more bad ending files like ".php" that I don't let the user upload.
How can I know all this bad files.
I know that FCKeditor limite this files:
php|asp|aspx|ascx|jsp|cfm|cfc|pl|bat|exe|com|dll|vbs|js|reg
Does that all the bad files? Who can I know that?
RE: Absolute Path in ASP
not sure if i have the lingo right... sorry...
RE: Absolute Path in ASP
RE: Absolute Path in ASP
here is the deal... i'm using the editor in a directory on the server as follows... d:\\Websites\SomeSite\WWW\ which iis is using for site http://www.Somesite.com
what i need the image upload and broswer to do is upload images to another directory on the server as follows... d:\\Websites\AnotherSite\WWW\ which iis is using for site http://www.AnotherSite.com
currently, the browser and upload only use the Server.Mapbath (which in this case points to http://www.Somesite.com and its directory) to upload files to the server... what i would like to do is have the uploader save the files to an absolute path on the server (ie. d:\\Websites\AnotherSite\WWW\) as well as browse the files from that location....
i prey this is more clear... need help asap... thanks...
RE: Absolute Path in ASP
I don't use the built in Image Browser (I wrote my own which browses our CMS database). However you could:
a) Specify the path as relative (eg. ..\..\AnotherSite\WWW). To do this you have to have "Enable parent paths" checked in the IIS app settings.
b) Modify the browser to not do the Server.MapPath. I just took a quick look and I think it is editor\filemanager\browser\default\connectors\asp you need to edit.
Good luck
Ben
RE: Absolute Path in ASP
XML Request Error: Internal Server Error(500)
RE: Absolute Path in ASP
Does the anonymous web user have the appropriate permissions over the other folder? Normally it would only have permmissions over it's own folder.
RE: Absolute Path in ASP
RE: Absolute Path in ASP
I'm having the same problems, can you help me fix it. What did you do?
How did you do it?
Can you send me the io.asp, connector.asp etc.?