mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 14:50:55 +03:00
@@ -449,7 +449,7 @@ func (c *scpCommand) handleDownload(filePath string) error {
|
||||
|
||||
var stat os.FileInfo
|
||||
if stat, err = c.connection.Fs.Stat(p); err != nil {
|
||||
c.connection.Log(logger.LevelWarn, "error downloading file: %#v, err: %v", p, err)
|
||||
c.connection.Log(logger.LevelWarn, "error downloading file: %#v->%#v, err: %v", filePath, p, err)
|
||||
c.sendErrorMessage(c.connection.GetFsError(err))
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user