Save a file to server

Hello
Can anyone kindly provide an example of saving a file to the server during run time?
Thanks
Doug

Can you please refrain sending the same questions to both direct email support and this support center. It only increases our workload unnecessarily and therefore slows down our support service to all customers.