How to simulate the "enter" key after using netmiko_send_command?

I’m trying to push new OSs with FTP using the following command, but I can’t get pass through the next step
myResult = , command_string =“copy ftp://username:password@ flash: \r\n”, use_timing=True)

It hangs at this point:
'Destination filename [c2960s-universalk9-mz.152-2.E9.bin]? ’

Is there a way to press enter?



One option is to disable the prompt confirmation on the router directly. For instance, on Cisco router it is the command “file prompt quiet”.
The second option would be to push “enter”, with netmiko that would be “\n”. Interested if that work?