FtpServer settings, input and output functions
List of Global Functions
Abort - Returns a confirmation popup dialog whether user wants to really abort.
Export - Dump the FtpServer settings to a single map (For use by autoinstallation.)
GetModified - Returns whether the configuration has been modified.
Import - Get all FtpServer settings from the first parameter (For use by autoinstallation.)
InitDaemon - Set which daemon will be configured (For use by autoinstallation.)
Modified - Prototypes
Modified - Data was modified?
OptionsSummary - Create unsorted list of options
Overview - Create an overview table with all configured cards
PollAbort - Checks whether an Abort button has been pressed. If so, calls function to confirm the abort call.
Read - Read all FtpServer settings
Summary - Create a textual summary and a list of unconfigured cards
ValueUIEdit - read value from PURE_EDIT_SETTINGS
Write - Write all FtpServer settings
WriteSettings - Write current configuration
WriteToEditMap - Write value from UI to temporary structure
WriteUpload - Ask for creation upload directory It is necessary if user want to allow uploading for anonymous
WriteXinetd - Write current configuration
List of Global Variables
DEFAULT_CONFIG - map of deafult values for options in UI
EDIT_SETTINGS - map <string, string > of vsftpd settings
PURE_SETTINGS - map <string, string > of pure-ftpd settings
UI_keys - list of keys from map DEFAULT_CONFIG
VS_SETTINGS - map <string, string > of vsftpd settings
anon_homedir - variable signifies home dir for anonymous user
anon_uid - variable signifies uid for anonymous user
change_permissions - variable signifies if user choose change permissions for home dir for anonymous connections with allowed upload
create_upload_dir - variable signifies if it is create upload dir only for vsftpd and anonymous connections with allowed upload
ftps -
modified - Data was modified?
proposal_valid - general variable for proposal
pure_ftp_allowed_permissios_upload - variable signifies if upload dir for anonymous has good permissions it is only for pure-ftpd
pure_ftp_xinetd_running - variable signifies if daemon is running via xinetd
pure_ftpd_xinet_conf - list includes xinetd server_args for pure-ftpd
pureftpd_installed - variable signifies if pure-ftpd is installed and
pureftpd_xined_id - variable signifies if pure-ftpd is installed and in structur Inetd::netd_conf -1 init value before calling Inetd::Read()
start_xinetd - variable signifies if daemon will be started via xinetd
stop_daemon_xinetd - variable signifies if daemon will be stoped in xinetd
upload_good_permission - variable signifies if upload dir has good permissions only for vsftpd and anonymous connections with allowed upload
vsftp_xinetd_running - variable signifies if daemon is running via xinetd
vsftpd_edit - variable signifies if vsftpd is selected and edited via ftp-server (YaST module) global boolean variable
vsftpd_installed - variable signifies if vsftpd is installed and
vsftpd_xined_id - variable signifies position vsftpd record in structur Inetd::netd_conf -1 init value before calling Inetd::Read()
write_only - Write only, used during autoinstallation. Don't run services and SuSEconfig, it's all done at one place.
Returns a confirmation popup dialog whether user wants to really abort.
Return value
boolean - result of Popup::ReallyAbort(GetModified()
Dump the FtpServer settings to a single map (For use by autoinstallation.)
Return value
map - Dumped settings (later acceptable by Import ())
Returns whether the configuration has been modified.
Return value
boolean - modified
Get all FtpServer settings from the first parameter (For use by autoinstallation.)
Function parameters
map settings
Return value
boolean - True on success
Set which daemon will be configured (For use by autoinstallation.)
Return value
boolean - True on success
Create unsorted list of options
Return value
string - Returnes string with RichText-formated list
Checks whether an Abort button has been pressed. If so, calls function to confirm the abort call.
Return value
boolean - true if abort confirmed
Create a textual summary and a list of unconfigured cards
Return value
string - summary of the current configuration
read value from PURE_EDIT_SETTINGS
Function parameters
string key
Return value
string - value of key from edit map
Write value from UI to temporary structure
Function parameters
string key
string value
Return value
boolean - successfull
Ask for creation upload directory It is necessary if user want to allow uploading for anonymous
Return value
boolean - result of function (true/false)
variable signifies if user choose change permissions for home dir for anonymous connections with allowed upload
variable signifies if it is create upload dir only for vsftpd and anonymous connections with allowed upload
variable signifies if upload dir for anonymous has good permissions it is only for pure-ftpd
variable signifies if pure-ftpd is installed and in structur Inetd::netd_conf -1 init value before calling Inetd::Read()
variable signifies if upload dir has good permissions only for vsftpd and anonymous connections with allowed upload
variable signifies if vsftpd is selected and edited via ftp-server (YaST module) global boolean variable
variable signifies position vsftpd record in structur Inetd::netd_conf -1 init value before calling Inetd::Read()