The current situation is like this. I used python to generate a temporary file based on the parameters passed from the front-end page, the tempfile module, and then I wanted to transfer this temporary file to the remote server. I planned to use the paramiko module. The question now is whether the tempfile file can be copied to a remote location? If not, is there a more suitable module to support it... Besides paramiko, what else is more suitable for remote copy?
Since it is a temporary file, it will naturally cease to exist after the program is closed. If you want to copy remotely, consider using ssh or rsync.