We were successfully able to mask file via TDM Portal. After the file masking was complete, we got an option to download the masked file in the zip format.
Is it possible to store the masked file directly in the shared drive location from where the file was uploaded in the TDM Portal?
It is not possible to place the file on the location where you are uploading the file.
The masking approach in portal is, when you upload the file from your local system or network path from browser, the file will get deployed to the TDM server and then it creates connection profile to mask the attached file. So, the generated masking file will be added in download section only.
You can achieve this functionality through Fastdatamasker.