David,
I ended up filing an RFE for this at
https://issues.apache.org/jira/browse/FTPSERVER-401 so that it can be
tracked easier.
2011/2/12 Toli Kuznets tkuzn...@marinsoftware.com:
Hi,
I have a custom FtpLet and I wan to kick off a job on file upload, so
i override the handleOnClose()
Assuming you are playing with the code in the trunk, all you have to
do is check if the FtpReply is a positive reply by calling
FtpReply.isPositive. If this method returns true, it is a successful
upload, otherwise, it is not. You can then type cast the FtpReply to
DataTransferFtpReply to access
I think I see what you are saying now, after looking at the Ftplet
interface and DefaultFtplet. The Ftplet interface has afterCommand and
beforeCommand methods which are called back with FtpRequest, FtpReply
and FtpSession parameters. The DefaultFtplet captures the afterCommand
and calls the
Hello Toli,
why don't you set your ftpet to be run after STOR (and STOU...)
command? In the old way this was the method onUploadEnd().
2011/2/12 Toli Kuznets tkuzn...@marinsoftware.com:
Hi,
I have a custom FtpLet and I wan to kick off a job on file upload, so
i override the
Uh, I see that's what you did :)
2011/2/14 David Latorre dvl...@gmail.com:
Hello Toli,
why don't you set your ftpet to be run after STOR (and STOU...)
command? In the old way this was the method onUploadEnd().
2011/2/12 Toli Kuznets tkuzn...@marinsoftware.com:
Hi,
I have a custom
Oh, my bad.
My eyes saw onUploadEnd() but, for some reason, my fingers kept typing
handleOnClose()
sorry for the confusion
On Mon, Feb 14, 2011 at 1:46 AM, David Latorre dvl...@gmail.com wrote:
Uh, I see that's what you did :)
2011/2/14 David Latorre dvl...@gmail.com:
Hello Toli,
Hi,
I have a custom FtpLet and I wan to kick off a job on file upload, so
i override the handleOnClose() call.
I'm running into a situation where when my users use SSIS (scary
Microsoft product) to send files over FTP, they are not able to
establish a data connection to my server (separate