C client server file transfer