2 # Show FTP protocol options
4 require './frox-lib.pl';
5 &ui_print_header(undef, $text{'ftp_title'}, "");
8 print &ui_form_start("save_ftp.cgi", "post");
9 print &ui_table_start($text{'ftp_header'}, "width=100%", 4);
11 print &config_yesno($conf, "APConv", undef, undef, "no");
13 print &config_yesno($conf, "PAConv", undef, undef, "no");
15 print &config_yesno($conf, "BounceDefend", undef, undef, "yes");
17 print &config_yesno($conf, "SameAddress", undef, undef, "yes");
19 print &config_yesno($conf, "AllowNonASCII", undef, undef, "no");
21 print &config_yesno($conf, "TransparentData", undef, undef, "no");
23 print &config_opt_range($conf, "ControlPorts", 3);
25 print &config_opt_range($conf, "PassivePorts", 3);
27 print &config_opt_range($conf, "ActivePorts", 3);
29 print &ui_table_end();
30 print &ui_form_end([ [ 'save', $text{'save'} ] ], "100%");
32 &ui_print_footer("", $text{'index_return'});