mirror of
https://github.com/rclone/rclone.git
synced 2025-01-24 12:56:36 +02:00
dropbox: Make file exclusion error controllable with -q #287
This commit is contained in:
parent
af5f4ee724
commit
c724d8f614
@ -654,7 +654,7 @@ func (o *Object) Open() (in io.ReadCloser, err error) {
|
|||||||
func (o *Object) Update(in io.Reader, modTime time.Time, size int64) error {
|
func (o *Object) Update(in io.Reader, modTime time.Time, size int64) error {
|
||||||
remote := o.remotePath()
|
remote := o.remotePath()
|
||||||
if ignoredFiles.MatchString(remote) {
|
if ignoredFiles.MatchString(remote) {
|
||||||
fs.ErrorLog(o, "File name disallowed - not uploading")
|
fs.Log(o, "File name disallowed - not uploading")
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
entry, err := o.fs.db.UploadByChunk(ioutil.NopCloser(in), int(uploadChunkSize), remote, true, "")
|
entry, err := o.fs.db.UploadByChunk(ioutil.NopCloser(in), int(uploadChunkSize), remote, true, "")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user