Date / Autor
***********************
01. September 2022
Tom Huerlimann
office@thuinformatik.ch
www.thuinformatik.ch
Version: 1.0.1.2
Examples
***********************
/serveraddr ' IP-address of Filezilla server (do not use hostname)
/serverport ' Port of Filezilla admin service
/serverpass ' Password of Filezilla admin service
/action ' Action to take: adduser, deluser, pwduser, addgroup, delgroup
/username ' Only if action:adduser/deluser/pwduser, secify a username
/password ' Only if action:adduser/pwduser, specify a passwort
/groupname ' Only if action:adduser/addgroup/delgroup, specify a groupname
/directory ' Only if action:adduser/addgroup, specify a directory
/aliases ' Only if action:adduser/addgroup, specify alias(es), separate multiple values by pipe (|)
/acl ' Only if action:adduser/addgroup, specify ACL for alias(es), separate multiple values by comma (,):
' DirList,DirSubdirs,DirCreate,DirDelete,FileRead,FileWrite,FileDelete,FileAppend,IsHome
/forcessl ' Only if action:adduser/addgroup, force TLS for user login (values: true/false or 1/0)
/allowIP ' Only if action:adduser/addgroup, specify IP-address(es), separate multiple values by semikolon (;)
/disallowIP ' Only if action:adduser/addgroup, specify IP-address(es), separate multiple values by semikolon (;)
/passusrlmt ' Only if action:adduser/addgroup, bypass user limit (values: true/false or 1/0)
/comment ' Only if action:adduser/addgroup, specify a comment in the description of the user/group
/? ' Display this help
Examples:
-- Add user
thuFileZillaAPI.exe /serveraddr:127.0.0.1 /serverport:14147 /serverpass:123456 /action:adduser /username:myuser /groupname:mygroup /password:123456 /directory:""C:\temp\my user" /aliases:"/pub_html|/public_html" /acl:DirList,DirSubdirs,DirCreate,DirDelete,FileRead,FileWrite,FileDelete,FileAppend,IsHome /forcessl:true /allowIP:"127.0.0.1;10.0.0.100;::1" /disallowIP:"192.168.1.10" /passusrlmt:false /comment:"This is a comment"
-- Delete user
thuFileZillaAPI.exe /serveraddr:127.0.0.1 /serverport:14147 /serverpass:123456 /action:deluser /username:myuser
-- Change password
thuFileZillaAPI.exe /serveraddr:127.0.0.1 /serverport:14147 /serverpass:123456 /action:pwduser /username:myuser /password:123456
-- Add group
thuFileZillaAPI.exe /serveraddr:127.0.0.1 /serverport:14147 /serverpass:123456 /action:addgroup /groupname:mygroup /directory:"C:\temp" /aliases:"/pub_html|/public_html" /acl:DirList,DirSubdirs,DirCreate,DirDelete,FileRead,FileWrite,FileDelete,FileAppend,IsHome /forcessl:true /allowIP:"127.0.0.1;10.0.0.100;::1" /disallowIP:"192.168.1.10" /passusrlmt:false /comment:"This is a comment"
-- Delete group
thuFileZillaAPI.exe /serveraddr:127.0.0.1 /serverport:14147 /serverpass:123456 /action:delgroup /groupname:mygroup
Requirements
***********************
- Microsoft .NET 4.5.2 or newer
Update procedure
***********************
MSI
- In case you have installed the tool by using the msi installer, make sure you uninstall the previous version before you install the new version.
Uninstall: msiexec.exe /x {15812B44-943A-4111-AD5F-48941B2064FA} /qr
Install : msiexec.exe /i thuFileZillaAPI.msi /qr
ZIP
- In case you have installed the tool by using the zip archive, make sure you overwrite all files on the target directory.
Changelog
***********************
01.11.2021 - 1.0.1.2
- Add new parameter /allowIP and /disallowIP (see: https://sourceforge.net/p/thufilezillaapi/tickets/3/)
- Add new parameter /passusrlmt to by pass the user limit
26.06.2020 - 1.0.1.1
- If parameter /action:adduser is set, then /directory is not required anymore (see: https://sourceforge.net/p/thufilezillaapi/tickets/1/)
- Add new parameter /comment to specify a description of a user/group (see: https://sourceforge.net/p/thufilezillaapi/tickets/2/)
24.02.2020 - 1.0.1.0
- Add new parameter /pwduser to be able to change the password of a user
- Code cleanup
19.02.2020 - 1.0.0.7
- /acl: did not work as exptected: Bugfix
16.02.2020 - 1.0.0.6
- Add new parameter /acl to specify required ACL on aliases
- Removed parameter /homedir because it became part of /acl
- Added /action:addgroup and /action:delgroup to manage FileZilla groups
- If /action:adduser then /groupname is not a required value anymore
- If /forcessl: values of true/false required in lowercase
- A little bit code cleanup
- MSI installer created
- README file updated
15.02.2020 - 1.0.0.3
- Add new parameter /homedir to be able to set an alias as homedir
- README file updated
14.02.2020 - 1.0.0.2
- /forcessl did not work as exptected: Bugfix
- README file updated
04.11.2019 - 1.0.0.1
- Fix typo of /forcessl