problema risolto basta ridefinire i metodi usando issueCommandCheck della classe FtpClient
codice:
/** creare una nuova directory */
public void mkdir(String s) throws IOException {
issueCommandCheck("MKDIR " + s);
}
/** cancellare una directory*/
public void rmdir(String s) throws IOException {
issueCommandCheck("RMD " + s);
}
/** cancellare il file*/
public void delete(String s) throws IOException {
issueCommandCheck("DELE " + s);
}
in poche parole issueCommandCheck consente di utilizzare direttamente le funzioni di FTP