Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to upload a file using S3sync.exe into a certain folder in my S3 bucket.
This is the command line :
S3Sync.exe -AWSAccessKeyId accKey -AWSSecretAccessKey secKey -RequestEndpoint -BucketName "mybucket" -S3FolderKeyName "myfolder/" -SyncDirection upload -LocalFolderPath c:\myfolder

I did not find any problems at the first upload, but a problem occured at the second upload.
Here is the log :

Program started. 25/05/2012 12:25:20
Getting files on S3.
File added to S3 list. KeyName=mybucket/abc.txt
Number of items in S3 list: 1

Getting local files.
Number of items in local list: 1

Deleting items on S3 (2 items):
Delete S3 file failed. KeyName=mybucket/abc.txt An error occurred.
Amazon Error Message: Access Denied
Canceling deletion of extra files on S3.
Number of items deleted: 0

Program complete. 25/05/2012 12:25:22 ExitCode=-1

Why do the S3sync.exe always try to delete the files before upload the local file?
It causes the program can't upload files into the same folder at the second upload.

Anyone can help?

share|improve this question

It seems as if you have read permissions but not write permissions - have you checked your ACL permissions for that particular file?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.