FTP: Don't prompt to download text files,

- Also update coding style and clean up.
- Closes #1559
WebPage: Download unsupported content from FTP protocol.
Merge pull request #1569 from srazi/FTP-handle-text-html

FTP: Don't prompt to download text files,