Skip to content
This repository was archived by the owner on Dec 13, 2020. It is now read-only.
This repository was archived by the owner on Dec 13, 2020. It is now read-only.

Single File Upload #105

@jessejamesrich

Description

@jessejamesrich

I can't find any examples of how to upload a single file which I'd like to do at runtime rather than run on a cronjob (I assume I have to run this as a cronjob?)

When running:

turbolift -u <USERNAME> -a <KEY> --os-rax-auth <DC> upload -c <CONTAINER> -s test.txt

This is what I get:

2016-01-05 12:54:40,054 - logger:INFO => Logger [ turbolift ] loaded
2016-01-05 12:54:40,055 - worker:INFO => Authenticating
Processing - [ \ ] - Please wait  iad
Done.
2016-01-05 12:54:40,385 - upload_items:INFO => Indexing File System...
2016-01-05 12:54:40,387 - exceptions:ERROR => No objects found to process. Check your command.
Done.
Traceback (most recent call last):
  File "/usr/local/bin/turbolift", line 9, in <module>
    load_entry_point('turbolift==3.0.0', 'console_scripts', 'turbolift')()
  File "build/bdist.linux-x86_64/egg/turbolift/executable.py", line 59, in execute
  File "build/bdist.linux-x86_64/egg/turbolift/worker.py", line 130, in run_manager
  File "build/bdist.linux-x86_64/egg/turbolift/methods/upload_items.py", line 34, in start
turbolift.exceptions.DirectoryFailure: No objects found to process. Check your command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions