EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Get sFTP Commands on recieve/reply

Posted: 09/09/2013 02:29:07
by ITSG (Standard support level)
Joined: 06/27/2013
Posts: 34

Is there any chance to get the send sFTP/SSH commands in the SBSSHServer ?

I am using this, when running the FTP/FTPs Server:
FTPServer_OnCommandReceived(object sender, string command, string parameters, ref bool ignore)

That works fine, but i found no place, where i can get that kind of info inside the SBSSHServer. Even checked the example code....

Any help appreciated
Thank You
Posted: 09/09/2013 02:33:28
by Eugene Mayevski (Team)

SFTP is binary protocol and "commands" there are binary packets. There's no text to dump available.

Sincerely yours
Eugene Mayevski
Posted: 09/09/2013 02:34:50
by Vsevolod Ievgiienko (Team)

Thank you for contacting us.

SFTP protocol is different from FTP where each command is represented by a textual string. In TElSBSSHServer/TElSFTPServer each received command is mapped to a corresponding event (TElSFTPServer.OnOpenFile etc.)



Topic viewed 771 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!