The command is run on the server where Output Manager service is running.
The file name is passed using the {File}
variable. You can change the name of the file in your FTP command - that is up to you. You can also pass the report, version, user and environment to the command.