Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing folder on another server

Status
Not open for further replies.

meldrape

Programmer
May 12, 2001
516
US
Hello, this is a general question. We have some christmas party photos on our mainserver (named mainserver). I support several sites on our webserver (webserver). I wonder if there is a way to access some folders on mainserver from webserver? They are both on the same network. I've done it before with
Code:
Set objXmlHttp = Server.CreateObject("Msxml2.ServerXMLHTTP")

objXmlHttp.open "GET", "[URL unfurl="true"]http://www.servername.com/somepage.asp",[/URL] False

with an fso page on the another remote server. but I can't seem to put the same theory in place with this situation. Any thoughts would be appreciated. Thanks.
 
if you are trying to access another server, you may run into permission problems. When someone surfs to your websever, it uses the IUSR_webserver (where webserver is the name of your server) as the userID... and if you try to access your mainserver it will try to authenticate file access based on that annonymous IUSR account...

as far as trying to get the FSO to work, you may try to name a virtual directory linked to your mainserver in your IIS settings for that website...

Earnie Eng
 
Many thanks Earnie. I just bucked up and copied the files to the webserver. It was less labor intensive that way. Thanks again!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top