diff --git a/backend/sugarsync/sugarsync.go b/backend/sugarsync/sugarsync.go index ef388bc78..32335af28 100644 --- a/backend/sugarsync/sugarsync.go +++ b/backend/sugarsync/sugarsync.go @@ -531,7 +531,7 @@ func (f *Fs) FindLeaf(ctx context.Context, pathID, leaf string) (pathIDOut strin //fs.Debugf(f, "FindLeaf(%q, %q)", pathID, leaf) // Find the leaf in pathID found, err = f.listAll(ctx, pathID, nil, func(item *api.Collection) bool { - if item.Name == leaf { + if strings.EqualFold(item.Name, leaf) { pathIDOut = item.Ref return true }