Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
23 views
in CompleteFTP by (120 points)

Since CompleteFTP now uses SQLite, the Powershell script previously in use for certificate update needs to be updated to use SQLite.  However, I need to know if the same SQL command will work, or if things have changed with regard to the schema with the transition to SQLite?  I'd like to have a working solution BEFORE I upgrade to the latest version.

This is the update command that worked with SQL Server Compact.  Will it work with SQLite (provided that the connection is correct)?

"UPDATE Site SET SSLCertificate = @HexString, SSLCertificatePassword = @Pass"

Also, this is the previous location/file name.  What is the new location/file name?

"Data Source = C:\ProgramData\Enterprise Distributed Technologies\Complete FTP\config.sdf;"

1 Answer

0 votes
by (48.2k points)

The UPDATE query should work as is. Our installer runs queries using the same syntax and they work fine.

The Data Source is:

"Data Source = C:\ProgramData\Enterprise Distributed Technologies\Complete FTP\config.db;BinaryGuid=False"

The BinaryGuid thing probably isn't necessary unless your queries use GUIDs.

You might like to install the CompleteFTP trial on another machine and test your script on its DB before using it in production.

Categories

...