mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 23:00:55 +03:00
FTP: add support for ASCII transfer mode
the default remain binary, a client have to explicitly request an ASCII transfer
This commit is contained in:
@@ -97,6 +97,7 @@ func (s *Server) GetSettings() (*ftpserver.Settings, error) {
|
||||
DisableActiveMode: s.config.DisableActiveMode,
|
||||
EnableHASH: s.config.HASHSupport > 0,
|
||||
EnableCOMB: s.config.CombineSupport > 0,
|
||||
DefaultTransferType: ftpserver.TransferTypeBinary,
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user