meskyanichi/backup — Issue #269: FTP storage: server.passive_mode breaks cycling
Author: mmarschall
Created: 2012-01-31 10:34:49+00:00
State: open

```
store_with FTP do |server|
server.username = '...'
server.password = '...'
server.ip = '...'
server.port = 21
server.path = '/'
server.keep = 7,
server.passive_mode = true
end
```
breaks with this error message:

undefined method `to_i' for [7, true]:Array

Putting `server.passive_mode` above `server.keep` fixes the issue:

```
store_with FTP do |server|
server.username = '...'
server.password = '...'
server.ip = '...'
server.port = 21
server.path = '/'
server.passive_mode = true,
server.keep = 7
end
```