how to copy files between a windows host and vmware linux guest OS
by using the free sfk instant ftp server.
Download the free Swiss File Knife Base from Sourceforge.
Open the Windows CMD command line, Mac OS X Terminal or Linux shell.
OS X : type mv sfk-mac-64.exe sfk and chmod +x sfk then ./sfk
Linux: type mv sfk-linux-64.exe sfk and chmod +x sfk then ./sfk.
OS X and Linux syntax may differ, check the help within the tool.
1) on windows, download
http://stahlworks.com/dev/sfk/sfk.exe
or get it from sourceforge.
2) on linux, make sure that internet access is available, then say
Ubuntu:
wget http://stahlworks.com/dev/sfk/sfk
chmod +x sfk
Damned Small Linux:
wget http://stahlworks.com/dev/sfk/sfk-lib5
cp sfk-lib5 sfk
chmod +x sfk
to download and prepare sfk for linux.
3) finding out the IP of the vm linux system
in Ubuntu, click at right top onto the network symbol:
a popup opens, select therein the 2nd tab. the IP should appear.
If the network symbol is not available in your Ubuntu,
try applications / system tools / network diagnosis,
and search therein for the eth0 interface.
in DSL (Damned Small Linux), the IP is usually listed
in the upper right corner of the desktop, preceeded by "Host:".
this article assumes that your vmware player running DSL
is set to "Bridged" ethernet mode.
4) exchanging files between linux and windows
Ubuntu:
3.1. run the sfk instant ftp server on windows side, by
sfk ftpserv -rw
3.2. on linux, to download file foobar.zip from windows, say
./sfk ftp 192.168.80.2 get foobar.zip
3.3. on linux, to send a file, say
./sfk ftp 192.168.80.2 put myfile.zip
Damned Small Linux, Knoppix:
4.1. run the sfk instant ftp server on linux side, by
./sfk ftpserv -rw -port=30199
4.2. from windows, use the above ftp get/put commands
against the IP adress which DSL told, for example:
sfk ftp 192.168.178.23:30199 put myfile.zip
1) on windows, download
http://stahlworks.com/dev/sfk/sfk.exe
or get it from sourceforge.
2) on linux, make sure that internet
access is available, then say
Ubuntu:
wget http://stahlworks.com/dev/sfk/sfk
chmod +x sfk
Damned Small Linux:
wget http://stahlworks.com/dev/sfk/sfk-lib5
cp sfk-lib5 sfk
chmod +x sfk
to download and prepare sfk for linux.
3) finding out the IP of the vm linux
system
in Ubuntu, click at right top onto the
network symbol:
a popup opens, select therein the 2nd tab.
the IP should appear.
If the network symbol is not available in
your Ubuntu, try applications / system
tools / network diagnosis, and search
therein for the eth0 interface.
in DSL (Damned Small Linux), the IP is
usually listed
in the upper right corner of the desktop,
preceeded by "Host:".
this article assumes that your vmware
player running DSL is set to "Bridged"
ethernet mode.
4) exchanging files between linux and
windows
Ubuntu:
3.1. run the sfk instant ftp server on
windows side, by
sfk ftpserv -rw
3.2. on linux, to download file foobar.zip
from windows, say
./sfk ftp 192.168.80.2 get foobar.zip
3.3. on linux, to send a file, say
./sfk ftp 192.168.80.2 put myfile.zip
Damned Small Linux, Knoppix:
4.1. run the sfk instant ftp server on
linux side, by
./sfk ftpserv -rw -port=30199
4.2. from windows, use the above ftp
get/put commands against the IP adress
which DSL told, for ex
ample:
sfk ftp 192.168.178.23:30199 put
myfile.zip
you are viewing this page in mobile portrait mode with a limited layout. turn your device right, use a desktop browser or buy the sfk e-book for improved reading.
sfk is a free open-source tool, running instantly without installation
efforts. no DLL's, no registry changes - just get sfk.exe from the zip package and use it (binaries for windows, linux and mac are included).