-1
I am using Gem carrierwave-ftp and dev localhost works normal but in Heroku it resumes the error below: Net::Ftppermerror (500 I won’t open a Connection to xxx.xxx.xxx (only to zzz.zzz.zzz. ) Below is a sample of my configuaracao file.
CarrierWave.configure do |config|
config.ftp_host = "ftp.meuhost.com"
config.ftp_port = 21
config.ftp_user = "meuusuario"
config.ftp_passwd = "minhasenha"
config.ftp_folder = "/public_html/meuhost/minhapasta"
config.ftp_url = "https://meuhost.com/minhapasta"
config.ftp_passive = false # false by default
config.ftp_tls = false # false by default
config.cache_storage = :file
end
I searched a lot, in Igles, Chines, Japones and etc but without success.