Skip to content

timewasted/cloudfiles-batch-upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

cloudfiles-batch-upload

This is a quick hack to upload a directory structure to Rackspace's Cloud Files. It preserves the appearance of a directory structure by including the directory name as part of the file name. For example, if you were to batch upload /tmp, the file /tmp/store/images/products/1.jpg would be uploaded to Cloud Files as store/images/products/1.jpg.

Usage:

Clone both this repository and Rackspace's php-cloudfiles repository. Move cloudfiles-batch-upload.php into the php-cloudfiles directory (optionally change the require('./cloudfiles.php'); line in cloudfiles-batch-upload.php to point to the correct location). Edit the variables defined at the top of cloudfiles-batch-upload.php, then run the script.

About

Recursively upload a directory structure to Rackspace's CloudFiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages