You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@mina.apache.org by "Wright, Omari" <Om...@solers.com> on 2012/04/10 14:37:08 UTC

RE: How to implement FtpServer Ftplet like actions in Apache SSHD

It turns out that the close operation is called at the end of file writes and file reads. Is there any way to distinguish between the two in the SFTP subsystem at the end of the operations?

RE: How to implement FtpServer Ftplet like actions in Apache SSHD

Posted by "Wright, Omari" <Om...@solers.com>.
Nevermind, I figured it out. I just had to take the file handles and compare the inputPos and outputPos to the file size.

-----Original Message-----
From: Wright, Omari [mailto:Omari.Wright@solers.com] 
Sent: Tuesday, April 10, 2012 8:37 AM
To: 'users@mina.apache.org'
Subject: RE: How to implement FtpServer Ftplet like actions in Apache SSHD

It turns out that the close operation is called at the end of file writes and file reads. Is there any way to distinguish between the two in the SFTP subsystem at the end of the operations?