Maybe because active ftp and your firewall, try:
require ‘open-uri’
open(“ftp://whatever.ftp.site”, :ftp_active_mode => false).read
I get TypeError: Cannot convert Hash into String.
Maybe because active ftp and your firewall, try:
require ‘open-uri’
open(“ftp://whatever.ftp.site”, :ftp_active_mode => false).read
I get TypeError: Cannot convert Hash into String.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs