Wrox Programmer Forums
|
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 4th, 2003, 09:32 AM
Registered User
 
Join Date: Sep 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Cross server FSO object

Hey, i have a problem. I have web pages on one server, but the information i need to access is on another server thats not a web server. I tryed to use the FSO object pointing to the path of the non web server's location and to where the files i need to access for my asp page, but it doesnt work. I talked to someone else about it and they said that a FSO does not like to go across different servers, is there another solution to my problem?
thanks

P.S sorry for the lack of details, kind of in a rush. Thanks again :)

 
Old September 4th, 2003, 09:55 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

Can you set up a virtual directory in IIS that's mapped to the folder on the other server? Then you could access it with FileSystemObject using the Server.MapPath method.
 
Old September 4th, 2003, 10:17 AM
Registered User
 
Join Date: Sep 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

unfortunatly, touching any of the server settings is off limits.

 
Old September 5th, 2003, 03:27 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

I think Microsoft Knowledge Base Article 197964 "PRB: Cannot Access Remote Files with the FileSystemObject" will help you, if you can tamper with the settings on the non-web server...





Similar Threads
Thread Thread Starter Forum Replies Last Post
Automation Server can't create object anujrathi ASP.NET 2.0 Professional 0 February 20th, 2007 01:43 AM
Active Directory/SQL server cross domain trusts tuffnet SQL Server 2000 3 December 1st, 2005 01:11 PM
how to I loop through the items in a server object AlexMessinger Classic ASP Basics 1 October 28th, 2004 07:44 AM
HtmlEncode method of Server object bekim C# 4 June 27th, 2004 01:38 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.