The service node also supports the Trivial File Transfer Protocol (TFTP,
see RFC 1350) which allows to transfer files between the host
system (running the simulation) and a simulated (target) client. TFTP is often
used during network booting, together with the BOOTP facilities, to load OS
kernels and images, and it can also be used interactively with
the tftp command found on many systems.
Files to be transferred from the host system to the simulated client should be placed in a directory in the Simics path. This is the standard path used by image objects: list-directories will print its current value, while add-directory will add a directory to the path list. The current working directory is also automatically included.
Files transferred from the simulated client to the host will end up in the current working directory. When running Simics in graphical mode, this will be the project directory; from the command line or without a project, it will be the directory Simics was started from.
joe@computer: ~# ifconfig eth0 10.10.0.10 up
And we transfer the file myfile.txt from the host machine:
joe@computer: ~# tftp -l myfile.txt -r myfile.txt -g 10.10.0.1