WS_FTP Server stores user and configuration data in a PostgreSQL database. In most cases, this database will not require any maintenance. If, however, you modify the configuration data of the server often (adding and removing users, folder permissions, rules or notifications), you may need to run periodic maintenance tasks on the database server.
To perform this routine maintenance, use the maintain_db.bat file located in:
C:\Program Files\Ipswitch\WS_FTP Server\utilities\
C:\Program Files (x86)\Ipswitch\WS_FTP Server\utilities\
maintain_db.bat username password