ODBiC Discussion Board


RE: Checking FileExists, Max Steiner, 05-26-2006

Not that way, but...

by David Richardson, May 30, 2006 05:26

ODBScript can only perform operations on files that are on the same machine. When you think about it, if you could perform operations from a remote PC then it would be a security nightmare!

However, there are a couple of ways you can achieve what you want to do. If you own the server entirely, then you can set up a script to check the directory where you expect files to be and if it finds the file you want you can get it to send you an email with the results (in fact you could get it to send you the file if you wanted). You can then set this script as a scheduled task and run it every day (or however often you want).

If you don't own the server, then you will have to create an ODBScript page to do it and then set up a scheduled task on your PC to do it ( or else do it yourself). I suspect that you don't want this option, though, because you don't want others stumbling across the page and checking up on the files. If your PC has a fixed IP address you could always protect the script using that, although most people don't.

Other than that, I'm not sure what else you can do.


Replies:


Post Your Reply:

Name   
E-mail  optional
Topic  
Message:

HTTP Link: 
Link text: 

          


Copyright ©1997-2003, Roger Harris. All rights reserved.