Chapter 80: Controller: /siteworx/ftp Up Part III: SiteWorx API Spec Chapter 82: Controller: /siteworx/htaccess 

81 Controller: /siteworx/ftp/sessions

Required Permissions "FTP"
Required Options FTP Accounts
Action: fail
Added in version n/a
Description Magic function - test for failure mechanism.
Action: kill
Added in version 4.7.0-339
Description Kill ftp sessions.
Input Parameters
Name Type Notes Required?
sessions struct (integer) No*
* indicates that it’s actually required, but probably already has a valid default value
Action: listFtpSessions
Added in version 4.8.0-393
Description List Ftp Sessions.
Sample output
array (
’status’ => 0,
’payload’ =>
array (
),
)
Action: reroute
Added in version n/a
Description Action to re-route from the current controller to a different one.
Input Parameters
Name Type Notes Required?
controller string Example Values
Index, Overview, Email, EmailBox, EmailAlias, EmailGroup, EmailAutorespond, DomainsSlave, DomainsPointer, DomainsSub, DomainsPhp, Dns, Ssl, SslKey, SslChain, SslCrt, SslCsr, Ftp, FtpSessions, MysqlDb, MysqlUser, MysqlPerms, Cron, Htaccess, Simplescripts, Users, Logs, Twofactorauth, EmailRemotesetup, EmailFilters, EmailSpamprefs, EmailSpf, EmailDomainkeys, Backup, BackupSchedule, Prefs, Notice, Logout
Yes
Action: win
Added in version n/a
Description Magic function - test for testing success mechanism.
 Chapter 80: Controller: /siteworx/ftp Up Part III: SiteWorx API Spec Chapter 82: Controller: /siteworx/htaccess 

(C) 2018 by InterWorx LLC