I just purchased a SmartFTP Library license and fumbled through getting the license loaded. I then try and create a SFTPConnection object to connect with. I verified my connection information and all appears correct. When I call Connect(), I get the ftpErrorLicense error.

Here is the log information
[codebox][20080722 16:45:47] SmartFTP FTP Library v1.5.13.35
[20080722 16:45:48] Resolving host name "hsn.xfer.youtube.com"
[20080722 16:45:48] Connecting to Port: 22
[20080722 16:45:48] Starting SSH session. Remote Id: "SSH-1.99-OpenSSH_4.2"
[20080722 16:45:48] Initiating key exchange.
[20080722 16:45:49] Computing session key.
[20080722 16:45:49] Key Exchange Algorithm: diffie-hellman-group-exchange-sha1
[20080722 16:45:49] Key exchange completed.
[20080722 16:45:49] Host Key Algorithm: ssh-rsa
[20080722 16:45:49] Client to Server Encryption: aes128-ctr
[20080722 16:45:49] Server to Client Encryption: aes128-ctr
[20080722 16:45:49] Session HMAC: hmac-sha1
[20080722 16:45:49] Client to Server Compression: none
[20080722 16:45:49] Server to Client Compression: none
[20080722 16:45:49] Authentication request. Method: "none"
[20080722 16:45:50] Server supported authentications: publickey
[20080722 16:45:50] Authentication request. Method: "publickey"
[20080722 16:45:50] User authentication failed.
[20080722 16:45:50] Client closed the connection.
[20080722 16:45:50] 2[/codebox]

What am I doing wrong? Again, this exact code worked fine prior to the trial expiration. Now I have a license though.


I just realized this should be posted in the SmartFTP Library forum.