|
pyrax
Python Bindings for the Rackspace Cloud
|
Threading class to allow for uploading multiple files in the background. More...
Public Member Functions | |
| def | __init__ |
| def | folder_name_from_path |
| Convenience method that first strips trailing path separators. | |
| def | upload_files_in_folder |
| Handles the iteration across files within a folder. | |
| def | run |
| Starts the uploading thread. | |
Public Attributes | |
| root_folder | |
| container | |
| ignore | |
| upload_key | |
| ttl | |
| client | |
| base_path | |
Threading class to allow for uploading multiple files in the background.
| def __init__ | ( | self, | |
| root_folder, | |||
| container, | |||
| ignore, | |||
| upload_key, | |||
| client, | |||
ttl = None |
|||
| ) |
| def folder_name_from_path | ( | self, | |
| pth | |||
| ) |
Convenience method that first strips trailing path separators.
| def run | ( | self | ) |
Starts the uploading thread.
| def upload_files_in_folder | ( | self, | |
| arg, | |||
| dirname, | |||
| fnames | |||
| ) |
Handles the iteration across files within a folder.
1.7.6.1