Methods

Class/Module Index [+]

Quicksearch

Backup::Storage::FTP

Attributes

ip[RW]

Server IP Address and FTP port

passive_mode[RW]

use passive mode?

password[RW]

Server credentials

port[RW]

Server IP Address and FTP port

username[RW]

Server credentials

Public Class Methods

new(model, storage_id = nil) click to toggle source
# File lib/backup/storage/ftp.rb, line 19
def initialize(model, storage_id = nil)
  super

  @port         ||= 21
  @path         ||= 'backups'
  @passive_mode ||= false
  path.sub!(/^~\//, '')
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.