What version of FTPServer are you using?  'FtpReply' should be the
last parameter in the afterCommand() method for an FTPLet.


2010/3/1 Vinicius Carvalho <[email protected]>:
> Hello David. I found that this variable is present on IOFTPSession, but I
> can not access it. How can I get its value?
>
> Regards
>
> On Mon, Mar 1, 2010 at 7:08 AM, David Latorre <[email protected]> wrote:
>
>> Hello Vinicius,
>>
>> You have to explicitly check the "reply" variable in your
>> onUploadEnd()/afterCommand() method. This variable  should contain the
>> last reply of the 'upload'(STOR, STOU...) command which, I guess, will
>> be >= 400 in case of any IO error.
>>
>>
>>
>>
>> 2010/2/25 Vinicius Carvalho <[email protected]>:
>> > Hello there! We are facing some problems with our server. If the remote
>> > client process dies, the onuploadend method is invoked, and the
>> transfered
>> > file is not complete. Is it possible to avoid this? Shouldn't a sudden
>> > disconnection be treated as error?
>> >
>> > Regards
>> >
>>
>

Reply via email to