Set the general structure to send files (client -> server)