https://bz.apache.org/bugzilla/show_bug.cgi?id=63252

--- Comment #2 from Jaikiran Pai <[email protected]> ---
I had a look at the patch. Upon the "idle" timeout being reached, as you note,
you trigger a command from the client, which happens to be:

> The command used to trigger a data connection is a LIST on the current file 
> being parsed by the listing.

IMO, the list command can be potentially expensive (imagine it getting
triggered on a directory), more so because we aren't really interested in what
it returns. Instead of issuing a list command, can you instead issue a "NOOP"
command, available via the FTPClient#sendNoOp() which as per the javadoc of
this method is meant to be used in cases like this one?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to