ftp paths couldnt not be deleted

could not delete files if the path didnt start with "/"