Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

nimmis

I figured it out
open ftp://<<username>>:<<password>>@xyz.celink.com:31110/ -explicittls -certificate="bb4:b4:0a:6f:4f:be:6f:0c:43:e9:52:e8:e8:3c:92:56:ce:03:7b:5b"
nimmis

port number in open command

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
# Connect
open ftp://userid:password@ftp.xyz.com/ -certificate="34:b4:0a:6f:4f:be:6f:0c:43:e9:52:e8:e8:3c:92:56:ce:03:7b:5b"
# Disconnect
close
# Exit WinSCP
exit