Upload file using jquery ajax methods as follows:-
paste the uploadify. css file into your css folder.
j query.upload.js in your script folder.
download jquery.1.7.2.min.js and put it in your script folder.
create swf folder to put uploadify.swf file.
save uploadify- cancel. png in image folder.
This method will be called as many time the no. of files are and as its a AJAX call so I am returning a JSON object as String valued file Name.
The script will send you file to the server and you have to manipulate the file and store it in the folder you need.