Check here, for more details : https://www.c-sharpcorner.com/article/how-to-share-files-between-ubuntu-and-windows-10/
On Ubuntu Machine install openssh-server
sudo apt-get install openssh-serverafter installing go to windows machine & download / install FileZilla & open it.
Host = Ubuntu Machine Ip addressUsername = Your Ubuntu Machine UsernamePassword = You Username PasswordPort = 22
You can easily transfer files from Windows to Ubuntu OR Ubuntu to windows.