by Amith Ram.
One More problem i noticed is that, i am getting a responce after uploading the file like
"http://localhost:8099/pluginfile.php/24/user/private/sample.txt"
But,when i click on this link,i am getting file not found Error .