The easiest and most reliable way to share files between a Linux and Windows computer on the same local area network is to use the Samba file sharing protocol.
All modern versions of Windows come with Samba installed, and Samba is installed by default on most distributions of Linux.
To automatically mount a Windows share when your Linux system starts up, define the mount in the /etc/fstab file. The line must include the hostname or the IP address of the Windows PC, the share name, and the mount point on the local machine.
https://linuxapt.com/blog/34-install-samba-on-ubuntu-20-04-and-share-files-on-linux-and-windows