class FtpWebApp
Constants
- ABOUT
- CONNECT
- CONNECT_TO
- FTP
#¶ ↑
Initialize the Ftp-Connection here.
#¶ ↑
- LISTING
- ROOT
#¶ ↑
The various constants for the URL actions.
#¶ ↑
- STATUS
- USE_THIS_PORT
- WHERE_TO
Public Class Methods
Public Instance Methods
do_connect( where_to = WHERE_TO )
click to toggle source
link_to(i, optional_css = '')
click to toggle source
link_to_everything()
click to toggle source
#¶ ↑
link_to_everything
(everything tag, all tag)¶ ↑
#¶ ↑
# File lib/ftp_paradise/www/sinatra_web_interface.rb, line 64 def link_to_everything div( :id => 'intralink', :css_style => 'margin: 0.55em; margin-top:1.05em; margin-left:0.45em; margin-right:0.45em; padding-top: 2px; padding:5px; border:1px dotted black;' ) { h2('Available actions for the www-ftp part:','','', 'margin-top:1px; margin-bottom:1px;padding:0.2em')+ link_to(:connect,'margin-left:1em')+ link_to(:status)+ link_to(:root)+ link_to(:listing) } end
port?()
click to toggle source
report_port()
click to toggle source
run()
click to toggle source
show_status()
click to toggle source