Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on May 18, 2012
  1. Only upload files that have changed (based on size and timestamp)

    authored
    Added comments
    Other minor changes
Commits on Feb 3, 2012
  1. @mattrude

    Merge pull request #2 from jadb/master

    mattrude authored
    Important changes to support more environments / setups.
  2. @jadb

    Change relative path to absolute.

    jadb authored
    The relative path was bugging on some system, replaced it with an
    absolute path pointing to the same location.
Commits on Jan 30, 2012
  1. @jadb

    Add support for `php`, not just `php-cgi`

    jadb authored
    Some servers run PHP as an Apache module and thus have `/usr/bin/php`
    but not `/usr/bin/php-cgi`. The script's user can now run it on those
    servers as well.
Commits on Jan 29, 2012
  1. @mattrude

    Merge pull request #1 from jadb/master

    mattrude authored
    Small change to hide the API Key from being echoed
  2. @jadb

    Secure API Key

    jadb authored
    The script echoes the `user` and `api_key`, making it un-secure when
    part of a deployment strategy (i.e. Capistrano recipe). I found the
    most secured to be to store the `user` and the `api_key` on the
    server where the application is being deployed as part of the setup
    (i.e. /shared/path/rcfu/.RFUser, /shared/path/rcfu/.RFKey) and use
    them as part of the deployment in a command like this:
    
    	./scp-cloudfiles.sh.php \
    		-u=`cat /shared/path/rcfu/.CFuser` \
    		-k=`cat /shared/path/rcfu/.CFKey` \
    		-c=<container> \
    		-p=<path>
Commits on Feb 26, 2011
  1. @mattrude

    correct readme file

    mattrude authored
  2. @mattrude

    correct readme file

    mattrude authored
  3. @mattrude

    correct readme file

    mattrude authored
  4. @mattrude

    correct readme file

    mattrude authored
  5. @mattrude
  6. @mattrude

    Added readme file

    mattrude authored
  7. @mattrude
Commits on Feb 9, 2010
  1. Set no time limit for very large directories/files.

    Jared Blalock authored
    Determine if existing object (folder/file) exists in the container, ignore it and move to the next file.
    The main purpose of these changes was to upload over 370k images and videos, however any exceptions caused the script to abort, and having to start over from start.
    
    Exception try/catchs added as well to *hopefully* prevent from unexpected errors during transfers.  Which I did experience using Mike's original code.  Hence the reason for these changes.
    
    TODO:
    Add parameter to force overwriting existing files or ignore them.
    Update to latest php-cloudfiles API current version I'm aware of 1.6.2.
Commits on Aug 16, 2009
  1. Script should make less assumptions about what you want to do.

    Mike Smullin authored
    Should upload files inline instead of compiling a list of all files into
    an array first--which poses both a potentially huge delay and a memory
    problem.
    Got forward-slashes working in object names.
Commits on Jul 18, 2009
  1. Adding @TODO reminder for anyone who wants to contribute to this

    Mike Smullin authored
    project.
Commits on Jul 10, 2009
  1. Initial import of scp-cloudfiles.sh.php. Will upload a single hard-coded

    Mike Smullin authored
    file and create containers automatically.
  2. Initial import of Mosso PHP Class for CloudFiles API.

    Mike Smullin authored
Something went wrong with that request. Please try again.