Featured Posts

How to share files from os x host to windows guest on virtualbox via ftp

There are various reasons why one may want to share files from his OS X machine to guests on VirtualBox. No matter the reason, the option offered by default in Oracle VM VirtualBox, does not work straight away.

With the main purpose of easing the struggle of those who are facing a hard time while trying to share files with their guests on VirtualBox, I decided to give some clear and concise instructions as an alternative solution to the problem.


  • FTP server on OS X
  • FTP client on guest machine

Launch the FTP server on OS X

The OS X operating system has an FTP server installed by default. It can be easily activated with the help of the following command on the console.
sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist
Once you have managed to start the FTP server on your local OS X machine, you need to find out the IP address of the machine so you can use it later when connecting from the client.

Find out the IP address of the OS X machine 

Run the following command on your terminal console and the IP address will get printed out. Make sure to save it on a text file for later usage.

Start the FTP connection from the guest on Virtualbox

Offering an FTP client by default, we can easily initiate a connection from the Windows guest by making use of the following command.
Note: Make sure to put the IP address of your OS X host machine.

Provide the correct username and password when asked, and be ready to download the files from the FTP server.

Download files from the FTP server

Downloading files from the FTP server is as easy as typing the command get and the absolute path of the file after it.
get /Users/oltjano/Desktop/nc.exe
As you can easily spot from the above illustration, the command for performing the task of file download is simple and very practical.

Download all the files from the directory

In case you need to download multiple files from the FTP server, all you need to do is type the following command while being in the directory containing the files.
mget *
Copyright hackermilk.info


I fight for justice, righteousness and divine order on mother Earth. My main objective is to become a true man. As a soul who felt connected with Russia since a little kid, orthodox kozaks is my main definition of manhood.

Always curious on how stuff works under the hood, computer hacking has always been my way of materializing the true essence of my soul in the third dimension. My life as a hacker got really interesting when I discovered Python and Ubuntu Linux. Thirsty for knowledge, open source technologies are my main toys.

With the main purpose of adding joy on my journey as a computer nerd, I have decided to connect with hackers and aspiring ones through the content I do publish on this website. Being published on well established computer technology websites such as sitepoint and digitalocean, I produce high-quality content for anyone who is interested in improving their hacking skills further.

As a Python coder who spends most of his time creating projects from scratch and hacking various libraries, I am the savior to the beginner and the intermediate programmer.

Get Free Email Updates to your Inbox!

Post a Comment


Blog Archive

Recent Posts


Total Pageviews