ActiveStorage FTP Service
FTP Active Storage service.
Installation
Add this line to your application's Gemfile:
gem 'activestorage-ftp'
And then execute:
$ bundle install
Usage
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
License
The gem is available as open source under the terms of the MIT License.