---
title: "Discussion on \"Download the folders from S3 Bucket\" | Hashnode"
description: "Discussion on \"Download the folders from S3 Bucket\". import boto3\nimport os \ndef downloadDirectoryFroms3(remoteDirectoryName):\n    aws_access_key_id = \"\"\n    aws_secret_access_key = \"\"\n    BUCKET_NAME = \"\"\n    s3_resource = boto3.resource('s3', aws_access_key_id=aws_access_key_id,\n                     ..."
url: "https://hashnode.com/posts/download-the-folders-from-s3-bucket/6376342205efcb6966bdf914"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Download the folders from S3 Bucket](https://muhfaizan001.hashnode.dev/download-the-folders-from-s3-bucket?utm_source=hashnode&utm_medium=feed)

import boto3 import os def downloadDirectoryFroms3(remoteDirectoryName): aws\_access\_key\_id = "" aws\_secret\_access\_key = "" BUCKET\_NAME = "" s3\_resource = boto3.resource('s3', aws\_access\_key\_id=aws\_access\_key\_id, ...

Nov 17, 2022 · 1 min read · muhfaizan001.hashnode.dev  
Read the article

## Written by

[Muhammad Faizan](https://hashnode.com/@muhfaizan001)

@muhfaizan001 · Pakistan

  
[View profile](https://hashnode.com/@muhfaizan001)

Machine Learning Engineer

I am working as Machine learning Engineer. I am interested in Computer Vision.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
