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've used a linux utility called [s3cmd](http://s3tools.org/s3cmd). I guess you could easily call this command line utility from PHP.