Hi I am trying to SCP flash backups off my controllers to an SCP server (Cygwin). I have done similar in the past and have it working from other unix based devices. The issue is that the destination path contains spaces.
The path is more complicated but for the sake of this, I just want to copy the file to:
C:\Controller Backups\Dated Configs\flashbackup.tar.gz
That would normally result in a scp target of:
"/cygdrive/c/Controller\ Backups/Dated\ Configs/flashbackup.tar.gz"
But I get an error during the copy:
Error copying file:
Data/flashbackup.tar.gz: No such file or directory
Can anyone help with the correct format to escape the spaces?