Also of note, because of VNC's interface (a window) I would imagine it'll be
quite difficult to get command line controls to work.  One thought you might
want to consider though.  Win2K Professional and Server both come with a
built-in Telnet server.  If the workstation is listnening, you should be
able to instantiate the telnet environment using something like TCPClient
and run your commands this way.  Telnet server is off by default (thank
goodness...) and you can enable it through the services control panel.  I've
never tried this myself but it seemed like a decent alternative.  Anyone
know how "scriptable" the VNC environment is?  It's been a few years since
I've looked at it (Win2K Terminal services outperforms it everyday.)

Cheers,

Jeff Garza
Webmaster/Lead Developer
Spectrum Astro, Inc.
[EMAIL PROTECTED]


-----Original Message-----
From: Norman Elton
To: CF-Talk
Sent: 7/18/01 6:56 PM
Subject: Re: VNC & cfexecute

Mike-

Ray was right. You can't directly run programs on a 
client's computer. It's a big fat security disaster 
waiting to happen.

VNC, however, does allow for backwards connections. The 
client can be in "listen" mode, and will accept 
connections from a server. This may accomplish just what 
you need. Check out the docs at 
http://www.uk.research.att.com/vnc/winvncviewer.html. 
Unfortunately, the client must be listening. There's no 
way to force a connection otherwise.

It might take some creative scripting to get it to open 
the connection to a listening computer, but it's 
physically possible. Somehow :)

Norman Elton


-----Original Message-----
From: Michael Ross [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, July 18, 2001 4:14 PM
To: CF-Talk
Subject: VNC & cfexecute


Anyone run cfexecute to start up vnc on a client pc with 
the IP address plugged in?  Also does the name path in 
cfexecute mean the clients path or the servers path?

THanks

mike
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to