mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 06:40:54 +03:00
add more upload modes
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -313,6 +313,9 @@ func (fs *S3Fs) Create(name string, flag, checks int) (File, PipeWriter, func(),
|
||||
}
|
||||
}
|
||||
|
||||
if uploadMode&4 != 0 {
|
||||
return nil, p, nil, nil
|
||||
}
|
||||
return nil, p, cancelFn, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user