Max characters in HostName?
Hi, scripting in .net and wondering what the maximum length of the SessionOptions.HostName field is.
I have a FTP site with 2 host names bound to it. I have tested both in the WINSCP program and they both connect fine. When scripting, I get an error when trying to connect to it via the longer host name with a character count of 26. The shorter host name with a character count of 24 works.
I have a FTP site with 2 host names bound to it. I have tested both in the WINSCP program and they both connect fine. When scripting, I get an error when trying to connect to it via the longer host name with a character count of 26. The shorter host name with a character count of 24 works.