'Unable to copy files from host to guest or vice versa using virtual machine?

I am using Oracle VM Virtual Machine, host is windows and guest is Ubuntu. I am unable to copy files from windows to ubuntu or vice versa.

I have looked into the below link

https://www.liberiangeek.net/2013/09/copy-paste-virtualbox-host-guest-machines/

which says i need to make changes in the settings and make both the shared clipboard and drag and drop option as bidirectional and then try copying the files from windows to ubuntu

I made the changes as suggested still I was unable to copy the files.



Solution 1:[1]

Go to VMware Workstation -> Edit -> Preferences -> Workspace. and Check the 'Enable all shared folders by default' check box. enter image description here

Solution 2:[2]

Your configuration is correct. Try to copy your files to the desktop in your guest OS.

Note: You can drag and drop only certain types of files from windows.

 The following formats are handled by the Oracle VM VirtualBox drag and drop service:

Plain text: From applications such as text editors, internet browsers and terminal windows.

Files: From file managers such as Windows Explorer, Nautilus, and Finder.

Directories: For directories, the same formats apply as for files

More info in the docs

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Shaila Dhakane
Solution 2 Gamzosh