aws / aws/aws-toolkit-vscode

S3: upload folders

Open
#1,931 0 comments 4 reactions 0 assignees View on GitHub
feature-request service:s3
Dominant language
TypeScript
Stars
2k
Forks
807
Avg merge
10h 12m
Merged PRs (30d)
7

Description

Feature #1682 provides the ability to select and upload multiple files with one `Upload Files...` action. But it doesn't support folders.

## Expected behavior

1. the `Upload Files...` action supports selecting one or more folders. Folders are handled as follows:
1. if the local folder paths `foo/bar/folder1/` and `zub/zam/folder2/` are selected, and the remote S3 prefix (folder) is `s3://bucket1/a/` ,
1. the Toolkit uploads the entire _recursive_ contents of local folder `foo/bar/folder1/` to remote path`s3://bucket1/a/folder1/`
1. the Toolkit uploads the entire _recursive_ contents of local folder `zub/zam/folder2/` to remote path`s3://bucket1/a/folder2/`
1. any other files that were individually selected are uploaded to `s3://bucket1/a/`

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing `Upload Files...` action described in Feature #1682 and trace how individually selected files are mapped to the remote S3 prefix. Extend the behavior to accept folders, preserve each selected folder's name, upload contents recursively, and keep individually selected files at the prefix root.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.