what are log files?. I'm new to VBA I don't know what are log files.
Read my previous post carefully again!
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
what are log files?. I'm new to VBA I don't know what are log files.
There's no log file attached to your post.
I am using the above code to connect to SFTP Through WinSCP. It gets connected only once.Next time when I run the code I get the error at this line
"mySession.Open mySessionOptions"
connection has been unexpectedly closed. Server sent command exit status 0.Authentication failed
Please Help.
Please attach a full session log file for both sessions (using the latest version of WinSCP).
To generate the session log file, setSession.SessionLogPath
. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
I am using the above code to connect to SFTP Through WinSCP. It gets connected only once.Next time when I run the code I get the error at this line
"mySession.Open mySessionOptions"
connection has been unexpectedly closed. Server sent command exit status 0.Authentication failed
Please Help.
Session.SessionLogPath
. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.Sorry, I have no idea how VB works. So again, do you build some .exe from your code? Or how do you run it?
Sorry, I have no idea how VB works. So again, do you build some .exe from your code? Or how do you run it?
So you have some .exe file built from your code? Is it VB6?
Where do you run the code from?
Hello yesterday I did windows update. Now its giving me Automation error-2146234304
Please help me with this first.
so that i can check the above solution
Try to unregister (!) and then re-register the .NET assembly.
https://winscp.net/eng/docs/library_install#registering
Hello yesterday I did windows update. Now its giving me Automation error-2146234304
Please help me with this first.
so that i can check the above solution