Status: Open (View Workflow)
Have the destination be the name of a file instead of the name of a folder.
destination = myjar-prod.jar would copy the source into <root repository path>/myjar-prod.jar
Perhaps a checkbox indicating that the destination is the full path instead of a folder?
Another option is to make this plugin work more like the actual ssh client and require the destination folder to exist.