I'm able to connect to this SFTP site on the same PC I'm writing this code on using FileZilla using all default settings
Using the host name, I get the below error
ChilkatLog: Connect_SFtp(31ms): DllDate: Nov 12 2016 ChilkatVersion: 9.5.0.64 UnlockPrefix: ********* Architecture: Little Endian; 64-bit Language: .NET 4.6 / x64 VerboseLogging: 1 SftpVersion: 0 Component successfully unlocked using purchased unlock code. connectInner(31ms): hostname: *****.***.*** port: 22 sshConnect(16ms): connectSocket(16ms): domainOrIpAddress: *****.***.*** port: 22 connectTimeoutMs: 5000 connect_ipv6_or_ipv4(16ms): Multi-threaded domain to IP address resolution resolveHostname6(16ms): getAddressInfo(16ms): Failed to get host address info. (3) SocketError: Error 0x2afb Check to make sure the connection is not blocked by a firewall or anti-virus port filtering. hostOrIpAddr: *****.***.*** port: 22 Versions of Windows earlier than Windows XP are limited to handling IPv4 only On Windows Server 2003 and Windows XP, IPv6 addresses are returned only if IPv6 is installed on the local computer. --getAddressInfo --resolveHostname6 Domain to IP address resolution failed. --connect_ipv6_or_ipv4 --connectSocket Failed to establish initial TCP/IP connection --sshConnect --connectInner Failed. --Connect_SFtp --ChilkatLog
If I use the IP address, I get a different error
ChilkatLog: Connect_SFtp(31ms): DllDate: Nov 12 2016 ChilkatVersion: 9.5.0.64 UnlockPrefix: Architecture: Little Endian; 64-bit Language: .NET 4.6 / x64 VerboseLogging: 1 SftpVersion: 0 Component successfully unlocked using purchased unlock code. connectInner(16ms): hostname: ***.***.***.*** port: 22 sshConnect(16ms): connectSocket(16ms): domainOrIpAddress: ***.***.***.*** port: 22 connectTimeoutMs: 5000 connect_ipv6_or_ipv4: This is an IPV4 numeric address. Domain to IP address resolution not needed. connecting to IPV4 address... ipAddress: ***.***.***.*** createSocket: ai_family: 2 ai_socktype: 1 ai_protocol: 0 SocketError: WSAEINVAL An invalid argument was supplied. --createSocket Failed to create socket for connecting. --connect_ipv6_or_ipv4 --connectSocket Failed to establish initial TCP/IP connection --sshConnect --connectInner Failed. --Connect_SFtp --ChilkatLog
Using FileZilla, I do have to click through a warning box stating that the server's host key is unknown - Is that the error SFTP is running into? If so I need to bypass it - I trust the site
Thoughts?