You can delete a file using the Ftp#deleteFile method. All filenames are relative to your current remote directory.
Example
// delete file named image.gif
ftp.deleteFile("image.gif");
See also
Setting your remote directory