Sha256: 5166576e6aeb4bdb87671b9c0e50712d10ed9c13e1041ff93418cd6d7cdc6c4a

Contents?: true

Size: 666 Bytes

Versions: 1

Compression:

Stored size: 666 Bytes

Contents

# ActiveStorage FTP Service

FTP Active Storage service.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'activestorage-ftp'
```

And then execute:

```bash
$ bundle install
```

## Usage

config/storage.yml

```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](https://opensource.org/licenses/MIT).

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
activestorage-ftp-0.1.0 README.md