How to override flow of attach field frappe!

How to override flow of attach field frappe. i want when i attach file, it does’nt saved to my frappe server. I want it save in my file storage. Anyone help me please !!!

Kindly provide us with your use case so that we can assist you accordingly.