/* * (non-Javadoc) * * @see * org.eclipse.ecf.provider.filetransfer.outgoing.AbstractOutgoingFileTransfer * #hardClose() */ protected void hardClose() { try { if (remoteFileContents != null && scpUtil != null) { scpUtil.sendZeroToStream(responseStream); scpUtil.dispose(); scpUtil = null; remoteFileContents = null; responseStream = null; } } catch (final IOException e) { exception = e; } finally { super.hardClose(); channel = null; username = null; } }