Skip to content

upload file from stdin illegal seek #447

@gordon-to

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"

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