Too Many parameters for command 'open' please help
when running my script that have RSA host key i get the following error message
the Script from command line using WINSCP.com /script=ICEChatChatCopy.txt
What am i doing work with the open cmd? Please Help!
# Automatically abort script on errors
option batch abort
# Disable overwrite confirmations that conflict with the previous
option confirm off
# Connect
open sftp://# Automatically abort script on errors
option batch abort
# Disable overwrite confirmations that conflict with the previous
option confirm off
# Connect
open sftp://userid:password@mft.theice.com/ -hostkey=“ssh-rsa 1024 05:14:b6:0f:9f:f5:b9:7b:78:e4:dd:6c:2f:f3:8e:d8”
# Change remote directory
cd /compliance
# Force binary mode transfer
option transfer binary
# Download file to the local directory C:\ChatTest
get xcelenergy_20*.xml C:\ChatTest
# Disconnect
close:xcel4vantage$$@mft.theice.com/ -hostkey=“ssh-rsa 1024 05:14:b6:0f:9f:f5:b9:7b:78:e4:dd:6c:2f:f3:8e:d8”
# Change remote directory
cd /compliance
# Force binary mode transfer
option transfer binary
# Download file to the local directory C:\ChatTest
get xcelenergy_20*.xml C:\ChatTest
# Disconnect
close
the Script from command line using WINSCP.com /script=ICEChatChatCopy.txt
What am i doing work with the open cmd? Please Help!
# Automatically abort script on errors
option batch abort
# Disable overwrite confirmations that conflict with the previous
option confirm off
# Connect
open sftp://# Automatically abort script on errors
option batch abort
# Disable overwrite confirmations that conflict with the previous
option confirm off
# Connect
open sftp://userid:password@mft.theice.com/ -hostkey=“ssh-rsa 1024 05:14:b6:0f:9f:f5:b9:7b:78:e4:dd:6c:2f:f3:8e:d8”
# Change remote directory
cd /compliance
# Force binary mode transfer
option transfer binary
# Download file to the local directory C:\ChatTest
get xcelenergy_20*.xml C:\ChatTest
# Disconnect
close:xcel4vantage$$@mft.theice.com/ -hostkey=“ssh-rsa 1024 05:14:b6:0f:9f:f5:b9:7b:78:e4:dd:6c:2f:f3:8e:d8”
# Change remote directory
cd /compliance
# Force binary mode transfer
option transfer binary
# Download file to the local directory C:\ChatTest
get xcelenergy_20*.xml C:\ChatTest
# Disconnect
close