Skip to content

[Bug] Unable to upload without folder creation #126

@JPWerling

Description

@JPWerling

Describe the bug

It seems impossible to upload a local file to a remote key that is not within a "folder" structure. Either a folder structure is created or the upload fails with a An error occurred (InternalError) when calling the CompleteMultipartUpload operation when using / as the destination.

To Reproduce

Steps to reproduce the behavior:

  1. Select a local file, a target bucket
  2. Run the upload command, attempt to upload to destination /.
    iris <credentials> upload <bucket> <local_file> /

Expected behavior

I would have expected Iris to accept and succeed uploading to /, which should result in the file being located at the top level in the structure, without creating any "folder".

Screenshots

If applicable, add screenshots to help explain your problem.

IRIS version

For example, 5.4.1

Additional context

Upload succeeds with any given destination path. Always seems to fail with /.

Metadata

Metadata

Assignees

Labels

BugSomething isn't workingIn progressIssue is being worked onMore details neededMore details about the issue is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions