GuyWithDogs
10-19-2005, 05:30 PM
I've got a bunch of unattended PCs (kiosks -- screens, but no one working the keyboard or mouse) that periodically get information from a server that I control. On those machines are some log files that I'd like to get my hands on, and I'm wondering whether anyone has any ideas on how to use Javascript, AJAX, I don't know what to get these.
I've been beating my head against this since early this morning, and thought I had an approach, but my testing showed I was mistaken, and that my development PC is the cause of my problems. It's running IIS, and so certain Javascript stuff works differently.
I suspect that the answer is "you can't" - but maybe someone has come up with a sneaky way.
The machines can run applets, they can render HTML and Javascript, they check in to a server that can ship them new HTML pages, etc.
The biggest restriction is that I _cannot_ have anything pop up on the screen. So when I tried something that used the Scripting.FileSystemObject ActiveX control, I got a dialog that said "An ActiveX on this page may be unsafe..." with a Yes/Cancel button set. That's a no-no. Turns out that my dev machine doesn't show that, but my test machine did. Another thing that sort of looked promising, from my Googling and then some experimentation, is using ADODB.Stream. Again - worked on my dev PC, because it has IIS on it. But a PC "in the wild", so to speak, can't run this. Found a large Microsoft Knowledgebase article on why this was bad, and how it was disabled to fix a huge security issue. So that don't help either.
Sooo ... Anyone have any ideas? I'm willing to take a shot at anything reasonable. If I don't figure something out in the next couple of days, I'm going to give up on the idea and go with something else. In the meantime, I'm going to create a generic page that will let people easily browse to a file and upload it to us. Means that someone has to get to the machine, but that happens periodically. Sadly, it's never when we could use someone there to help diagnose problems quickly. But that would be too easy....
Thanks.
I've been beating my head against this since early this morning, and thought I had an approach, but my testing showed I was mistaken, and that my development PC is the cause of my problems. It's running IIS, and so certain Javascript stuff works differently.
I suspect that the answer is "you can't" - but maybe someone has come up with a sneaky way.
The machines can run applets, they can render HTML and Javascript, they check in to a server that can ship them new HTML pages, etc.
The biggest restriction is that I _cannot_ have anything pop up on the screen. So when I tried something that used the Scripting.FileSystemObject ActiveX control, I got a dialog that said "An ActiveX on this page may be unsafe..." with a Yes/Cancel button set. That's a no-no. Turns out that my dev machine doesn't show that, but my test machine did. Another thing that sort of looked promising, from my Googling and then some experimentation, is using ADODB.Stream. Again - worked on my dev PC, because it has IIS on it. But a PC "in the wild", so to speak, can't run this. Found a large Microsoft Knowledgebase article on why this was bad, and how it was disabled to fix a huge security issue. So that don't help either.
Sooo ... Anyone have any ideas? I'm willing to take a shot at anything reasonable. If I don't figure something out in the next couple of days, I'm going to give up on the idea and go with something else. In the meantime, I'm going to create a generic page that will let people easily browse to a file and upload it to us. Means that someone has to get to the machine, but that happens periodically. Sadly, it's never when we could use someone there to help diagnose problems quickly. But that would be too easy....
Thanks.