wodSFTP.dll no error for incorrect password (General questions)
I have a form in Access 2003 that uploads some files using SFTP. It works as expected as long as the credentials are correct. If the credentials are wrong (ex. wrong password) the component connects , gives fingerprint and then just disconnects. No error is shown for invalid credentials. How can I determine that the connection failed due to wrong credentials?
Output (mix of statechange, lasterror and custom messages):
Bad password:
Connecting to server
HOST FINGERPRINT: 20:bd:66:66:63:a4:54:b7:cc:bd:ac:xx:xx:xx:xx:xx
Disconnected from server
DISCONNECTED!
password ok:
Connecting to server
HOST FINGERPRINT: 20:bd:66:66:63:a4:54:b7:cc:bd:ac:xx:xx:xx:xx:xx
Connected to server - idle
CONNECTED!
Sending data to server
PROGRESS 0/3444
PROGRESS 3444/3444
Connected to server - idle
DONE with no error
DISCONNECTED!
Version:
wodSFTP.dll 2.2.0.6
I know this is an old version but last time I tried to upgrade, the license key didn't work with the new version.
Re: wodSFTP.dll no error for incorrect password
Hi Eddie,
I just tested this and the Error 30015 ( Invalid username or password reported by server. ) was thrown everytime the wrong credentials were used. The error was stored in both, the Connected Event (Error arguments), and the LastError Property.
Since you use such an old version i have to ask you to upgrade to the latest which is 3.0.6.51.
Regards,
Damba
Re: wodSFTP.dll no error for incorrect password
Hi Eddie,
I just tested this and the Error 30015 ( Invalid username or password reported by server. ) was thrown everytime the wrong credentials were used. The error was stored in both, the Connected Event (Error arguments), and the LastError Property.
Since you use such an old version i have to ask you to upgrade to the latest which is 3.0.6.51.
Regards,
Damba
I just downloaded the new version 3.0.6 but theres no licensekey property available on the object. How is it set now?
Re: wodSFTP.dll no error for incorrect password
Hi Eddie,
Only the Trial Version doesn't have LicenseKey Property.
Please use the following link to request an update for the component:
http://www.weonlydo.com/index.asp?update=1
Please make sure you use the same e-mail you registered with us when you purchased the component.
Regards,
Damba
Re: wodSFTP.dll no error for incorrect password
Hi Eddie,
Only the Trial Version doesn't have LicenseKey Property.
Please use the following link to request an update for the component:
http://www.weonlydo.com/index.asp?update=1
Please make sure you use the same e-mail you registered with us when you purchased the component.
Regards,
Damba
Installed the retail version but still doesn't trow the incorrect password error
Im willing to send you a copy of the form so you can look at the code.
Where can I send you the file?
Re: wodSFTP.dll no error for incorrect password
Hi Eddie,
You can send it to techsupport@weonlydo.com
Regards,
Drazen
Re: wodSFTP.dll no error for incorrect password
Hi Eddie,
You can send it to techsupport@weonlydo.com
Regards,
Drazen
I just did a test against your server and got the incorrect password error . This means the issue is specific to our SSH server and wodSFTP.
SSH service:
VShell Version 2.3.5 (build 239)
Server:
Linux sftpserver.xxxxxxxxxxxx.com 2.4.20-31.9smp #1 SMP Tue Apr 13 17:40:10 EDT 2004 i686 i686 i386 GNU/Linux
I once had an issue trying to use listitems to populate a tree view. Its seems this SSH server does some things differently.