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 = rtr.run(task=netmiko_send_command , command_string =“copy ftp://username:password@10.166.231.96/OSimages/c2960s-universalk9-mz.152-2.E9.bin 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?

Thanks

Hello,

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?