diff --git a/content/course/modern-ds/s3/index.qmd b/content/course/modern-ds/s3/index.qmd index a9b4dc59c..52fa6c580 100644 --- a/content/course/modern-ds/s3/index.qmd +++ b/content/course/modern-ds/s3/index.qmd @@ -1266,7 +1266,7 @@ s3.upload_file(file_name, bucket, object_name) ```python -fs.upload(bucket + "/" + file_name) +fs.put(filepath, f"{bucket}/{object_name}", recursive=True) ``` ```{=html}