Will /log work from command line if I am connecting to sFTP
I found this today while reading:
"For security reasons, when protocol (such as sftp://) is provided as part of session URL (possible execution from web browser/Windows Explorer), all command-like parameters that cause any automatic action are ignored, including /defaults, /log, /script and /command."
I do not know exactly what 'session URL' is. I created my sFTP connection by opening WinSCP and using the WinSCP Login window. I can assign a log through the advanced properties, but I would like to overwrite session during the run of a .bat file.
My command is:
winscp.com /log "C:\Users\naa\Workspace1\dev\work\log.xml" /command "option batch ""on""" "option confirm ""off""" "open ""asp1_test""" "lcd ""C:\Users\naa\Workspace1\dev\work\""" "get -delete ""%1.001""" "exit"
Any help is appreciated.
"For security reasons, when protocol (such as sftp://) is provided as part of session URL (possible execution from web browser/Windows Explorer), all command-like parameters that cause any automatic action are ignored, including /defaults, /log, /script and /command."
I do not know exactly what 'session URL' is. I created my sFTP connection by opening WinSCP and using the WinSCP Login window. I can assign a log through the advanced properties, but I would like to overwrite session during the run of a .bat file.
My command is:
winscp.com /log "C:\Users\naa\Workspace1\dev\work\log.xml" /command "option batch ""on""" "option confirm ""off""" "open ""asp1_test""" "lcd ""C:\Users\naa\Workspace1\dev\work\""" "get -delete ""%1.001""" "exit"
Any help is appreciated.