|
View previous topic :: View next topic |
Author |
Message |
Guest
|
Posted: Mon Jun 24, 2002 12:03 pm Post subject: |
|
|
Hi. I have a test set up to monitor a file to prevent it from growing over a certain size. (ex. test.db). However, for one reason or another, if the filename changes case, such as TEST.DB, the test fails. It also seems to happen if I am monitoring a file for a certain string, and the filename changes case (not the contents of what I am monitoring), the test fails. Is this a known issue or am I missing a setting somewhere? Thank you. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12807 Location: USA
|
Posted: Mon Jun 24, 2002 12:38 pm Post subject: |
|
|
Its very strange behavior. Windows API must be case insensitive to file name. What Windows do you use? Or probably you use UNC path to check file on remote Unix system? In this case you have to specify file name in correct case.
Regards
Alex |
|
Back to top |
|
|
Guest
|
Posted: Mon Jun 24, 2002 7:52 pm Post subject: |
|
|
I'm checking an NT share/directory via unc path. I am running hostmonitor on W2k and the files in question are on NT 4. I am not checking any type of unix. I noticed that if I try to check a file that I have in lower case, and the file in in uppercase, then I get a file not found error. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12807 Location: USA
|
Posted: Mon Jun 24, 2002 8:18 pm Post subject: |
|
|
I believe you, but its nothing we can do. Only Microsoft can correct this problem. From another side its not a problem, its good behavior. UNC path must work with different systems, some file systems case insensitive, some case sensitive. So, we have the same behavior for all of them.
I see two solutions in your case: 1) use correct register for the file name 2) map network resource to local drive and use path like "n:folder1file2.ext"
Regards
Alex |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|