mirror of
https://github.com/rclone/rclone.git
synced 2024-11-07 17:14:44 +01: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 {
|
||||
remote := o.remotePath()
|
||||
if ignoredFiles.MatchString(remote) {
|
||||
fs.ErrorLog(o, "File name disallowed - not uploading")
|
||||
fs.Log(o, "File name disallowed - not uploading")
|
||||
return nil
|
||||
}
|
||||
entry, err := o.fs.db.UploadByChunk(ioutil.NopCloser(in), int(uploadChunkSize), remote, true, "")
|
||||
|
Loading…
Reference in New Issue
Block a user