Why am I receiving no response from s3cmd command from php?

Linode Staff

I am using the s3cmd command from php and nothing is happening.

1 Reply

I was able to find a possible solution on this discussion on StackOverflow, where the user was able to resolve the issue by using the full path. Be sure you update the below command with your correct information:

exec('/usr/local/bin/s3cmd --access_key=ZZZZZ --secret_key=XXXXX put /Users/me/filename.jpg s3://bucketname/foldername/'); 

I hope this helps resolve the issue.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct