Password Batch
Hello
I cant connect to a sftp through a bat file
apparently the password does not get recognized because it has some special characters
original password: +9lz3-MN
encoded password: %2B9lz3-MN
Batch File contains the following:
"C:\Program Files (x86)\WinSCP\WinSCP.com" /log="C:\WinSCP.log" /ini=nul /command "option batch continue" "option confirm off" "open sftp://<username>:%2B9lz3-MN/ -hostkey=""ssh-rsa 2048 xxx""" "option transfer binary" "synchronize local C:\ /Info/" "exit"
I'm getting the following log errors:
I cant connect to a sftp through a bat file
apparently the password does not get recognized because it has some special characters
original password: +9lz3-MN
encoded password: %2B9lz3-MN
Batch File contains the following:
"C:\Program Files (x86)\WinSCP\WinSCP.com" /log="C:\WinSCP.log" /ini=nul /command "option batch continue" "option confirm off" "open sftp://<username>:%2B9lz3-MN/ -hostkey=""ssh-rsa 2048 xxx""" "option transfer binary" "synchronize local C:\ /Info/" "exit"
I'm getting the following log errors: