Server Side Objects

Results 1 to 2 of 2

Thread: Server Side Objects

  1. #1
    OJB Guest

    Default Server Side Objects

    I want to make a server side object that will search the servers on our lan for a particular file. If the file exists, a link to it will be activated on an ASP page. Any help would be appreciated.

  2. #2
    Jeremy Lowery Guest

    Default RE: Server Side Objects

    Use a FileSystemObject Sub-routine to recurse through the directory structure on your server. <BR><BR>Use the objFSO.FileExists(translated_path_here)<BR>Method to determine if the file is in the specific directory.<BR><BR>If Found use<BR><BR>Response.Redirect link_path_here<BR>Response.End<BR><BR>to send the user to the specified file.<BR><BR>Also note that if you have written the HTTP header to the client (basically any html content) set Response.Buffer = True at the top of the page or the Response.Redirect will not work.<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts