p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

proasp_howto thread: How to access remote text file


Message #1 by =?big5?B?bGFycnmkbLTc?= <sunnylarry@m...> on Tue, 6 Mar 2001 17:53:20 +0800
how bout just an include file?????/
check out this, maybe this will help

<!-- #INCLUDE FILE="http://servername/directory/text.txt"-->

You will need to have this outside of the asp code  (<% %>)
You could also try 
<% Response.Write "<!-- #INCLUDE 
FILE='http://servername/directory/text.txt'-->"
%>

you could also try response.transfer aswell, this can be embedded inside 
the asp code itself. 

Myself, i would just stick to the include file

I hope this helps. 

Catchya -- Sam
---------------------------------------------------------------------------
In a world without walls, who needs WINDOWS?????
---------------------------------------------------------------------------



  Return to Index