views:

23

answers:

0

Using the Tamir.SharpSsh.jsch I am trying to run a custom command in VB2005. so i opened an "Exec" channel and setup the command "dumper df_500.bin". it returns a response that dumper does not exist. so I tried doing the exact same command in a command window in Tunnelier and it works in that environment. the only thing special about this dumper script file is that its a symbolic link.

    'run the command
    command = "dumper df_500.bin"
    channelEx = session.openChannel("exec")
    DirectCast(channelEx, ChannelExec).setCommand(command)
    s = channelEx.getInputStream()

    'connect the channel
    DirectCast(channelEx, ChannelExec).setPty(True)
    channelEx.connect()

It returns "ksh: dumper: not found". Is there something special I need to do for symbolic links? All my other commands work except this one.

AGP