You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@mina.apache.org by Bob Tiernay <bt...@hotmail.com> on 2013/02/25 02:53:27 UTC

SSHD: Get current uploading file names

Is it possible to get the current set of files being uploaded via the SshServer#getActiveSessions() method or otherwise? For reporting purposes we require such functionality.

Thank you in advance,

Bob

Re: SSHD: Get current uploading file names

Posted by Guillaume Nodet <gn...@gmail.com>.
Using SCP, there's no way.
Using SFTP, there's currently no easy way either, but trunk contains an
enhanced SFTP support which would cover that.

For now, I'd suggest modifying the code directly in the SFTP subsystem and
doing what you need there.


On Mon, Feb 25, 2013 at 2:53 AM, Bob Tiernay <bt...@hotmail.com> wrote:

> Is it possible to get the current set of files being uploaded via the
> SshServer#getActiveSessions() method or otherwise? For reporting purposes
> we require such functionality.
>
> Thank you in advance,
>
> Bob
>



-- 
------------------------
Guillaume Nodet
------------------------
Red Hat, Open Source Integration

Email: gnodet@redhat.com
Web: http://fusesource.com
Blog: http://gnodet.blogspot.com/