550 Remove directory operation failed

If any of you guys are having this problem then make sure you are deleting a directory. To delete an individual file there is another command in ftp. Try to figure it out using help command.