Hi Toli,
Thanks for your reply. I will try out your solution/suggestion.
Thanks,
Nilesh.
On 8/29/2011 11:42 PM, Toli Kuznets wrote:
Nilesh,
I'm using SSHD to provide SFTP support alongside Ftpserver, so i think
i have the exact same use case you do.
We are using SshFile.handleClose() to detect the "file finished
uploading" condition in SSHD, and call through to the same underlying
function that i have in ftpserver onUploadEnd() to get the same
behaviour in both cases.
hope this helps.
On Sun, Aug 28, 2011 at 11:21 AM, Nilesh Apte<[email protected]> wrote:
Hi:
I tried Apache FTP server and ftplet (to capture when a file is
downloaded/uploaded).With ftplet, I can put my file handling logic in
"onUploadEnd" and need not poll a folder for the file.
Is there anything in Apache SSHD SFTP which will let me do similar ( notify
on successful file upload)? SFTP too support commands similar to ftp, so why
don't we have "FTPlet" kind of thing for SFTP?
Thanks,
Nilesh.