I quickly dug through the code and in the com.enterprisedt.net.ftp.internal.EventAggregator.java the bytesTransferred(int count) method within the class calls the EventListener.bytesTransferred with the following code:
public void bytesTransferred(long count) {
if (eventListener != null)
eventListener.bytesTransferred(remoteFile, connId, count);
}
The javadoc for the EventListener.bytesTransferred method are:
bytesTransferred(java.lang.String connId, java.lang.String remoteFilename, long count)
The parameters in the EventAggregator.java simply needs to change to follow the pattern of the other callback methods in EventListener to passing in the connId first then remoteFile and finally count.
Will this be fixed in the next release?
Thanks
Nick