Question: how to transfer files from windows to ubuntu using lan cable?
Answer: get two ethernet cables and a router. connect the computers via the router. make the Ubuntu computer into an ssh server by installing openssh-server. make the Windows computer into an ssh client by installing WinSCP or Filezilla (in Windows) connect via WinSCP or Filezilla and transfer the files.