Archived Forum Post

Index of archived forum posts

Question:

SFTP socket error

Jul 26 '14 at 10:08

Trying to use SFTP to connect. It worked fine on other computers but will not connect on new Windows 7 professional 32-bit machine. FileZilla works fine on the same computer. It does not make it past the initial connect statement.

ChilkatLog:

Connect_SFtp:

DllDate: Jul 15 2014

ChilkatVersion: 9.5.0.41

UnlockPrefix:

Username: UD-NP-VEN2:

Architecture: Little Endian; 32-bit

Language: Visual C++ 11.0 (32-bit)

VerboseLogging: 1

SftpVersion: 0

hostname: xxx.xx.xxx.xxx

port: 22

connectSocket:

domainOrIpAddress: xxx.xx.xxx.xxx

port: 22

connectTimeoutMs: 50000

connect_ipv6_or_ipv4:

This is an IPV4 numeric address.

Domain to IP address resolution not needed.

AddrInfoList:

AddrInfo:

ai_flags: 4

ai_family: 2

ai_socktype: 1

ai_protocol: 0

ai_addrlen: 16

ai_canonname: (NULL)

--AddrInfo

--AddrInfoList

connecting to IPV4 address...

ipAddress: xxx.xx.xxx.xxx

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

Failed.

--Connect_SFtp

--ChilkatLog