Getting file transfers to work on both client and server.