Remove files from a Linux CIFS Windows share using the appropriate tools.
I used Plex earlier. For streaming, I switched to SFTP which felt smoother. If you need to share files simply, a basic Samba configuration works well.