Could you explain your use case? You could use a PHP Script and start it with a second form on success of your Export.
https://www.php.net/manual/de/function.ssh2-sftp.php