// /////////////// all observer methods ////////////////////
/**
* Observer upload notification.
*/
private void notifyUpload(final FtpIoSession session, final FileObject file, long size) {
StatisticsObserver observer = this.observer;
if (observer != null) {
observer.notifyUpload();
}
FileObserver fileObserver = this.fileObserver;
if (fileObserver != null) {
fileObserver.notifyUpload(session, file, size);