Android: post files to Apache server

I was looking for a solution to post files to LAMP server.
Here is a wonderful post how to do it “Uploading files to HTTP server using POST. Android SDK.“.

Only one thing, I would like to note – large files upload should be supported by server.
You can set proper size in php.ini file: