Thanks Joseph, I've used the cfsftp component a few times before, so i might take a better look into its workings, just for fun :-D
But you're right, using cfexecute is probably going to be the best method for simplicity and speedy, I'll have a play around and see what I can get working. Thanks mate, I'll let you know how I get on. Rob > On 16 Jun 2007, at 12:11, Robert Rawlins wrote: > >> I'm looking to access a remote Telnet/SSH server and run a few >> differet commands. I know quite some time back I was reading >> through a scorpio wish list and one of the items listed (and >> getting a few votes) was cftelnet as a tag. Can anyone confirm is >> Adobe have put this in to scorpio? > > There's no mention of that tag in cf8_beta_cfmlreference_052907.pdf. > >> However, cf8 aside, I need to have somthing to tide me over, does >> anyone know if there is anything available? If nothing native to CF >> then i'm sure that I'll be able to utilize some form of JAVA >> classes to do the job. > > The easiest solution would be to call a shell script and native SSH > program with cfexecute. You would need to make sure that ~/.ssh is > correct for the user that the process runs as. > > If you need more programmatic control at runtime, you might look at > cfsftp.cfc available from http://www.socialpoints.com. That project > uses JSch (http://www.jcraft.com/jsch/) to perform file transfer with > SSH. It wouldn't be trivial to use that CFC as an example to build > from in making a wrapper for arbitrary shell commands through SSH, > instead of SFTP. But it would be possible. > > -- > Joseph Lamoree > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281393 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4