diff --git a/pkg/rclone/rcserver/rc.go b/pkg/rclone/rcserver/rc.go index 50f63a298..71f82e6c3 100644 --- a/pkg/rclone/rcserver/rc.go +++ b/pkg/rclone/rcserver/rc.go @@ -486,6 +486,10 @@ func rcChunkedList(ctx context.Context, in rc.Params) (out rc.Params, err error) } } + ctx, ci := fs.AddConfig(ctx) + // Allow for calling callback as the dir is listed (#4132) + ci.UseListCB = true + w, err := in.GetHTTPResponseWriter() if err != nil { return nil, err