FTP or File Manager?

What is the best method to edit files on a web server? Is there any advantage or disadvantage of using one method over the other? What are they anyway?