List of usage examples for org.apache.commons.net.ftp FTPClient deleteFile
public boolean deleteFile(String pathname) throws IOException
From source file:simplehttpdb.net.FTPHelper.java
private void releaseLock(FTPClient ftpClient, String rootDir) { try {/*ww w . j a v a 2 s . c om*/ ftpClient.deleteFile(rootDir + Definitions.LOCK_FILE); } catch (IOException ex) { Logger.getLogger(FTPHelper.class.getName()).log(Level.SEVERE, null, ex); } }