Question: how to transfer file from windows to ubuntu vm?
Answer: Mount a shared folder that's on the Windows host onto Ubuntu. That way you don't even need to copy them. Go to Virtual Machine » Virtual Machine Settings » Shared Folders. The easiest way to do is to install the VMware Tools in Ubuntu, then you are able to drag the file into the Ubuntu VM.