I just figured this out... it was a permissions issue....

On 3/4/11 7:52 PM, Grig wrote:
> Hi there,
>
> I call s3cmd from PHP a lot. Up to now I've used the put and get for
> large file transfers.
>
> I've just started working with a way to use the "ls" method, but I get
> an error I don't understand.
>
>
> This is the call I make from PHP:
>
> /installs/s3cmd/s3cmd ls "s3://assets.xxxxxxxxx.com/downloads/WAV/A10237" 
> --config="/root/.s3cfg"
>
>
>
> And this is what I get back:
>
> ERROR: S3 error: 400 (InvalidArgument): Authorization header is invalid -- 
> one and only one ' ' (space) required
>
>
> Anyone have any ideas?
>
> Thanks!
>
>
>
> ------------------------------------------------------------------------------
> What You Don't Know About Data Connectivity CAN Hurt You
> This paper provides an overview of data connectivity, details
> its effect on application quality, and explores various alternative
> solutions. http://p.sf.net/sfu/progress-d2d
> _______________________________________________
> S3tools-general mailing list
> S3tools-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/s3tools-general
>


------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
S3tools-general mailing list
S3tools-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/s3tools-general

Reply via email to