Configuration of FtpServer |
modules/FtpServer.ycp |
FtpServer settings, input and output functions | |
|
|
This module has an unstable interface. |
Prototypes
- Parameters:
-
set_modified
Data was modified?
general variable for proposal
variable signifies if vsftpd is selected and edited via ftp-server (YaST module) global boolean variable
variable signifies if vsftpd is installed and
variable signifies if pure-ftpd is installed and
variable signifies position vsftpd record in structur Inetd::netd_conf -1 init value before calling Inetd::Read()
variable signifies if pure-ftpd is installed and in structur Inetd::netd_conf -1 init value before calling Inetd::Read()
variable signifies if daemon will be started via xinetd
variable signifies if daemon is running via xinetd
variable signifies if daemon is running via xinetd
variable signifies if daemon will be stoped in xinetd
variable signifies if it is create upload dir only for vsftpd and anonymous connections with allowed upload
variable signifies if upload dir has good permissions 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 user choose change permissions for home dir for anonymous connections with allowed upload
variable signifies home dir for anonymous user
variable signifies uid for anonymous user
variable signifies sleep time during reading settings
variable includes user info about anonymous user
list includes xinetd server_args for pure-ftpd
list of keys from map DEFAULT_CONFIG
map of deafult values for options in UI
map
map
map
Read current pure-ftpd configuration
- Return value:
-
successfull
Read current vsftpd configuration
- Return value:
-
successfull
Read vsftpd configuration existing upload file and permissions
- Return value:
-
successfull
Read pure-fptd configuration checking permissions for upload
- Return value:
-
successfull
Remap current pure -FtpServer configuration to temporary structure
- Return value:
-
successfull
Read current configuration
- Return value:
-
successfull
Write pure-ftpd configuration to config file
- Return value:
-
successfull
Write vsftpd configuration to config file
- Return value:
-
successfull
Remap UI pure-ftpd or vsftpd configuration to write structure for SCR
- Return value:
-
successfull
Restart daemon apply changes only if daemon running...
- Return value:
-
successfull
Write firewall configuration
- Return value:
-
successfull
Write value from UI to temporary structure
- Parameters:
-
key value
- Return value:
-
successfull
Write current configuration
- Return value:
-
successfull
Write current configuration
- Return value:
-
result of function (true/false)
Ask for creation upload directory It is necessary if user want to allow uploading for anonymous
- Return value:
-
result of function (true/false)
read value from PURE_EDIT_SETTINGS
- Parameters:
-
key
- Return value:
-
value of key from edit map
Write only, used during autoinstallation. Don't run services and SuSEconfig, it's all done at one place.
Abort function return boolean return true if abort
Returns whether the configuration has been modified.
- Return value:
-
modified
Function set modified variable.
- Parameters:
-
set_modified
Returns a confirmation popup dialog whether user wants to really abort.
- Return value:
-
result of Popup::ReallyAbort(GetModified()
Checks whether an Abort button has been pressed. If so, calls function to confirm the abort call.
- Return value:
-
true if abort confirmed
Data was modified?
- Return value:
-
true if modified
Read all FtpServer settings
- Return value:
-
true on success
Write all FtpServer settings
- Return value:
-
true on success
Get all FtpServer settings from the first parameter (For use by autoinstallation.)
- Parameters:
-
settings The YCP structure to be imported.
- Return value:
-
True on success
Set which daemon will be configured (For use by autoinstallation.)
- Return value:
-
True on success
Dump the FtpServer settings to a single map (For use by autoinstallation.)
- Return value:
-
Dumped settings (later acceptable by Import ())
Create unsorted list of options
- Return value:
-
Returnes string with RichText-formated list
Create a textual summary and a list of unconfigured cards
- Return value:
-
summary of the current configuration
Create an overview table with all configured cards
- Return value:
-
table items