Posssible to execute FTP style site commands?

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
snorkel
Posts: 384
Joined: Tue 08 Aug 2006 15:10
Location: Milwaukee WI USA

Posssible to execute FTP style site commands?

Post by snorkel » Wed 04 Jun 2014 15:54

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

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Re: Posssible to execute FTP style site commands?

Post by Dimon » Fri 20 Jun 2014 13:42

SFTP protocol does not support command transfer. For commands execution you can use the TScSSHShell component.

Post Reply