Skip to content

upload file from stdin illegal seek #447

Description

@gordon-to

Trying to upload from stdin following the docs.

$ cat test.txt | rack files object upload --container database-backups --name test.txt --stdin content
error	seek /dev/stdin: illegal seek

upload works using filename

rack files object upload --container database-backups --name test.txt --file test.txt
Successfully uploaded object [test.txt] to container [database-backups]

version info:
rack version 1.2
commit: 09c14b0

OS info

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.4 LTS"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions