-
Hi.
Using ASP, how can I read a file located on another server?
------------------------------------------
Example:
I want my site to contain the latest news from news.com.
My site:
www.domain1.com/getnews.asp
Remote file:
www.news.com/news.html
------------------------------------------
Thanks
D
-
You can do it..If you have access to Inet control or other Third party File transfer control at the server end.
-
Code:
Dim objFSO
Dim objTextStream
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
Set objTextStream = objFSO.OpenTextFile("file.txt", fsoForReading)
I know this method is supported, but will that do? If it does, how do I make it read something remote?
Thanks
D