Skip to content

gordienko/activestorage-ftp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

FTP Active Storage service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages