mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-06 22:30:56 +03:00
Fix some spelling errors
This commit is contained in:
@@ -7,7 +7,7 @@ Full featured and highly configurable SFTP server software
|
||||
|
||||
- Each account is chrooted to his Home Dir
|
||||
- SFTP accounts are virtual accounts stored in a "data provider"
|
||||
- SQLite, MySQL and PostgreSQL data providers are supported. The `Provider` interface could be extented to support non SQL backends too
|
||||
- SQLite, MySQL and PostgreSQL data providers are supported. The `Provider` interface could be extended to support non SQL backends too
|
||||
- Public key and password authentication
|
||||
- Quota support: accounts can have individual quota expressed as max number of files and max total size
|
||||
- Bandwidth throttling is supported, with distinct settings for upload and download
|
||||
|
||||
@@ -21,12 +21,12 @@ func initializeSQLiteProvider(basePath string) error {
|
||||
dbPath := filepath.Join(basePath, config.Name)
|
||||
fi, err := os.Stat(dbPath)
|
||||
if err != nil {
|
||||
logger.Warn(logSender, "sqlite database file does not exists, please be sure to create and inizialiaze"+
|
||||
logger.Warn(logSender, "sqlite database file does not exists, please be sure to create and initialize"+
|
||||
" a database before starting sftpgo")
|
||||
return err
|
||||
}
|
||||
if fi.Size() == 0 {
|
||||
return errors.New("sqlite database file is invalid, please be sure to create and inizialiaze" +
|
||||
return errors.New("sqlite database file is invalid, please be sure to create and initialize" +
|
||||
" a database before starting sftpgo")
|
||||
}
|
||||
connectionString = fmt.Sprintf("file:%v?cache=shared", dbPath)
|
||||
|
||||
Reference in New Issue
Block a user