In a server side script, there are only very specific locations to which you can export records and then only in certain formats.
What you want to do does not fit within those limitations.
You could do this from a client session instead of server side, but you'll still need access to that server's hard drive so even that won't work without mounting/mapping to a shared folder on the other server.
And such a "client session" is often scheduled for a specific time of day by setting up a "robot file" that performs the needed script to export records on your hosted file. An OS based scheduling utility is set up to open this robot file which is configured with the "onFirstWindowOpen" script to run a script in the hosted database file.