How to access file inside C# server method without uploading it to a vault.

I am struggling since few days. Is it possible to send file path to C# server method from external html-javascript client  without uploading a file to Vault? I want to perform some calculations based on file and if everything is okey then only I want file to be uploaded to Vault on another button.