Writing my first script and need help. when I run this Connection fails. Looking at site Manager for this site on the GUI front-end I see port number is set to 31110. When the script runs, port number =21 in the log file.
Can someone help me? How do I change the port number in the open command? I tried -port=31110 and the script will not even run.
# Automatically abort script on errors
option batch abort
# Disable overwrite confirmations that conflict with the previous
option confirm off
open ftp://userid:email@example.com/ -certificate="34:b4:0a:6f:4f:be:6f:0c:43:e9:52:e8:e8:3c:92:56:ce:03:7b:5b"
# Exit WinSCP