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've symbolic linked a S3 directory on my EC2 server. But a uploaded file was 0 byte when I uploaded file. It was work well before (I used just web server directory)

I don't have any idea dealing with this problem. Does anybody have a trouble like this problem on S3?


share|improve this question
How exactly did you create this symlink? S3 is not a block store. I'm guessing you're using s3fs - in which case, this will likely never work. – EEAA Feb 8 '12 at 21:24
I fixed this problem. I share to fix this for someone.… – Hwan Feb 22 '12 at 1:19
up vote 5 down vote accepted

This isn't what you want to hear, but trying to interact with S3 via s3fs is a road fraught with pain and suffering.

Use HTTP to get objects into and out of S3. That's the way Amazon designed S3, and that's what will always be guaranteed to work in a sane, predictable fashion. You're using Django - so just install the Python Boto library and use that to put/get files as needed.

share|improve this answer
Should I use it? Because I'd like to use default Django Model. Thanks. – Hwan Feb 9 '12 at 8:33
My answer is clear - you should use nothing other than http calls with S3. – EEAA Feb 9 '12 at 12:57
Do you have a good example Boto with django? Thanks, – Hwan Feb 9 '12 at 21:32
No, that would be a better question for Stackoverflow. – EEAA Feb 10 '12 at 1:02

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.