use python to transfer files to a remote server