luislavena/mini_portile — pull request #15 by metaskills (2012-10-16 12:29:52+00:00)
Title: Add FTP file support.

Refactored `download_file` to delegate to `download_file_http` or `download_file_ftp` based on the URI parsed. The `download_file` method now handles exceptions for both. Also refactored the shared temp file concern to a shared method block.

Inspired by https://gist.github.com/2202048 :smile: