I was wondering if there is any documentation on scripting Tunnelier? Is there a COM version?
For example, how would you recommend I handle the error "tunnelier.exe is already running - multiple instances are not yet supported!" from vbscript or jscript? Thanks
Monday, September 28, 2009
There is no COM support in Tunnelier; and as far as scripting is concerned, sftpc.exe (the command-line SFTP client) is the only application build with scripting support in mind. sftpc.exe uses command parameters (e.g. -cmd, -cmdFile) and return codes for scripted use.
I think you are using one of the 3rd party portable Tunnelier distributions. Tunnelier will otherwise happily open as many instances as desired.
Is sftpc.exe just for ftp protocol or does it handle SSH as well? How does it compare to the PuTTY collection of tools in terms of functionality and transfer speed?
Wednesday, September 30, 2009
sftpc.exe (SSH File Transfer Protocol Client) is for SFTP only, yes. Compared to PuTTY (or PuTTY based WinSCP) you should find Tunnelier transferring files with higher transfer rate.
If you need to run terminal shell (console) programs remotely, and you wish to parse the output and/or process the return codes, then sexec.exe (also part of Tunnelier) is what you'll need. sexec is SSH Execute Client.
Tunnelier does not feature a command-line SSH port forwarding client, therefore scripting port forwarding is not something Tunnelier would excel in. However, Tunnelier.exe supports command-line parameters as well - run 'Tunnelier -help' for more info. If you intend to launch Tunnelier.exe from script, then check out the following parameters: -loginOnStartup, -autoLogout, -exitOnLogout, -profile, -user, -password, -c2s, -s2c.
This topic is archived. No further replies will be accepted.Other recent topics