File Deletion problem

Hello All,
I am doing the following steps.
1> Opening a inputStream to a file.
2> assigning the inputStream to a input of the service (pub.client:http).
3> Closing the input tream.
4> Moving the file to another folder.
5> Deleting the File from it’s original Folder. (Here giving the exception.)

Hi Manoranjan can you state what exception error you are getting?

4> Moving the file to another folder

How are you accomplishing the “move?” If you’re truly moving the file, such as with a rename, then it won’t exist in its original folder (file not found).