I can't help you with that, but I'd LOVE to be able to do that check. Please let me know if you get it working.
Michael Shook Technical Analyst Saddle Creek Corporation 723 Joe Tamplin Industrial Blvd Macon GA 31217 478 742 8740 ext. 105 (work) 478 256 9318 (mobile) 478 742 7917 (fax) [EMAIL PROTECTED] http://www.saddlecrk.com >>> [EMAIL PROTECTED] 04/29/04 08:42AM >>> Dick, In VisualBasic I tried using WNetAddConnection2() to authenticate to the network share, but it doesn't seem to work. Even though the API call returns 0 (success), a subsequent call to FileDateTime() fails. I figured I'd check to see if anyone else has done something similar. Mike "Dirk Bulinckx" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 04/29/2004 12:53 AM Please respond to [EMAIL PROTECTED] To <[EMAIL PROTECTED]> cc Subject RE: [SA-list] Checking the datetime of a remote file If you want to use remote authentication for an external check (com or errorlevel) you will have to incorporate that within the external check that you write. Dirk. Don't forget to vote for Servers Alive in the annual Sunbelt Target Awards http://www.sunbelt-software.com/targetawards/ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Smith Sent: Thursday, April 29, 2004 2:05 AM To: [EMAIL PROTECTED] Subject: [SA-list] Checking the datetime of a remote file I am looking for a good way to check the datetime of files on remote servers. Specifically, I need to be able to tell if they've been updated within the last hour or the current day. I tried to write a simple VB application that would return an errorlevel based on the result, however there is no way to define user authentication for the "External (Errorlevel)" check-type like there is for the other types. Thanks, Mike Smith --- [This E-mail scanned for viruses by Declude Virus] To unsubscribe from a list, send a mail message to [EMAIL PROTECTED] With the following in the body of the message: unsubscribe SAlive
