Thanks for ur reply Adam,
The snippet u have send me is working but it throws me a HTTP error,
it saves the file to an autocreated temp folder...
can plz tell me what can b the cause of this,so i can try in my side,
is my code is faulty or else...plz inform