WinSCP Copy Script not Working
                Hi All,
I really hope someone can help me.
I am trying to achieve the following:
    
However I am receiving this issue:
    
Please also note that this is my first attempt at scripting so any guidance would be helpful.
                
                
                
            
            
        I really hope someone can help me.
I am trying to achieve the following:
-  Login
 
-  Navigate to directory
 
-  Copy all files containing a specific naming convention to a different directory
 
-  Move file from this directory to my local machine
 
"open sftp://root:<redacted>@<redacted>/ -hostkey=""ssh-<redacted> <redacted>/<redacted>""" ^ "cd /var/spool/asterisk/recording/" ^ "cp *40058.mp /var/spool/asterisk/recordingdone ^ "cd /var/spool/asterisk/recordingdone/" ^ "mv 123456_2001_0824639433_20240724140058.mp C:\Users\<redacted>\Music "exit"
< 2024-10-11 10:32:37.112 Script: /var/spool/asterisk/recording > 2024-10-11 10:32:37.112 Script: cp *40058.mp /var/spool/asterisk/recordingdone ^ < 2024-10-11 10:32:37.112 Script: Operation not supported. . 2024-10-11 10:32:37.113 Script: Failed . 2024-10-11 10:32:37.113 Script: Exit code: 1 . 2024-10-11 10:32:37.113 Closing connection.