Hi Shubham,
I basically don't understand your requirement, why you want to save the file on server. regardless below is the approach.
You can save a file in Application server using following steps.
1. Open dataset <datasetname>
2. Transfer file
3. Close dataset
Application Server T-Code - AL11
Rohit