You can send arbitray data from a client to a server or vice versa with the
send_data_to instruction.

http://www.conitec.net/beta/send_data.htm

After receiving the data you just have to write it to a file.


Always learn from history, to be sure you make the same mistakes again...