How to get a PreTranslateCommandEvent at SFTP tran - WeOnlyDo Discussion board

How to get a PreTranslateCommandEvent at SFTP tran (wodSFTP / wodSFTP.NET / wodSFTPdll)

by BongHwan, Wednesday, August 05, 2009, 15:30 (5590 days ago)

Hi,

I make a FTP/SFTP emulator.
What I want is that some events related to SFTP transferring as I get events from FTP transferring like PreTranslateCommandEvent.

Regards,
BongHwan

Re: How to get a PreTranslateCommandEvent at SFTP

by wodDamir, Wednesday, August 05, 2009, 15:38 (5590 days ago) @ BongHwan

Hi Bonghwan,

Unfortunately, it's not possible to use PreTranslateCommand and PreTranslateReply with SFTP, since SFTP is encrypted and works in a completely different way then FTP.

The only way to accomplish this is by checking and logging what method is started and if it finished correctly or not (using Done event i.e.).

Regards,
Damba