Class
FakeFtp::Server
In:
lib/fake_ftp/server.rb
Parent:
Object
Methods
absolute=
absolute?
abspath
add_file
file
files
is_running?
mode
mode=
new
reset
respond_with
running?
start
stop
External Aliases
workdir
->
path
Attributes
client
[RW]
command_state
[RW]
data_server
[RW]
passive_port
[RW]
port
[RW]
store
[RW]
workdir
[RW]
Public Class methods
new
(control_port = 21, data_port = nil, options = {})
Public Instance methods
absolute=
(value)
absolute?
()
abspath
(filename)
add_file
(filename, data, last_modified_time = Time.now)
file
(name)
files
()
is_running?
(tcp_port = nil)
Alias for running?
mode
()
mode=
(value)
reset
()
respond_with
(stuff)
running?
(tcp_port = nil)
start
()
stop
()
[Validate]