List of usage examples for org.apache.commons.net.ftp FTPClient abort
public boolean abort() throws IOException
From source file:org.apache.jmeter.protocol.ftp.sampler.FTPSampler.java
/** {@inheritDoc} */ @Override//from www . j a va 2 s. c o m public boolean interrupt() { FTPClient client = savedClient; if (client != null) { savedClient = null; try { client.abort(); } catch (IOException ignored) { } try { client.disconnect(); } catch (IOException ignored) { } } return client != null; }