FTP Active Storage service.
Add this line to your application's Gemfile:
gem 'activestorage-ftp'
And then execute:
$ bundle install
config/storage.yml
production:
service: Ftp
ftp_host: <%= ENV["FTP_HOST"] %>
ftp_port: <%= ENV["FTP_PORT"] %>
ftp_user: <%= ENV["FTP_USER"] %>
ftp_passwd: <%= ENV["FTP_PASSWD"] %>
ftp_folder: <%= ENV["FTP_FOLDER"] %>
ftp_url: <%= ENV["FTP_URL"] %>
# optional
ftp_passive: true
ftp_chmod: 0600
The gem is available as open source under the terms of the MIT License.