Question: I am having a file on S3 
 Example: test-company/upload/abc.txt
 I want to upload this abc.txt to my EC2 in php
 Do anybody having any idea please share it with example..

Answer: 
I've used [amazon-s3-php-class](https://github.com/tpyo/amazon-s3-php-class) which works great. 

Zend Framework also has [AWS support](http://framework.zend.com/manual/en/zend.service.amazon.s3.html) 
 though you can't use it with Europe until ZF 1.8.2 is released. (Due to a bug in 1.8.1 that has been fixed in svn now)
I'd go for the new Zend Framework (1.8) implementation. Haven't really checked it out yet but you can find it at [http://framework.zend.com/](http://framework.zend.com). Docs here: <http://framework.zend.com/manual/en/zend.service.amazon.s3.html>