Page 1 of 1

Posssible to execute FTP style site commands?

Posted: Wed 04 Jun 2014 15:54
by snorkel
Is it possible to execute commands once connected to a server via SFTP?
We need to send a file to a mainframe SFTP server and they have some odd propriatery
way to execute these commands which they call ls (which is stupid since ls is the directory list command)

For example I need to be able to do this(before I do a put):

sftp> ls /+mode=text

Re: Posssible to execute FTP style site commands?

Posted: Fri 20 Jun 2014 13:42
by Dimon
SFTP protocol does not support command transfer. For commands execution you can use the TScSSHShell component.