login about faq

I am getting exception on sftp.UnlockComponent

Following the link : http://www.example-code.com/vbnet/sftp_uploadFile.asp

Sample Code

    Dim success As Boolean
    success = sftp.UnlockComponent("Anything for 30-day trial")

    If (success <> True) Then
        MsgBox(sftp.LastErrorText)
        Exit Sub
    End If

I have not exceeded 30 day trial. I am still working on Prototype / Testing the Application. I wonder what could be the reason to spill the exception.

asked Sep 10 '14 at 11:20

chilldll's gravatar image

chilldll
3631015


Set the sftp.DebugLogFilePath property equal to a file to be created. Also set the sftp.VerboseLogging = true. Then re-run to reproduce the exception and send me the debug log file that is produced.

link

answered Sep 10 '14 at 11:49

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

I posted my comment in the Error Message. I guess, i am doing something wrong in the syntax

(Sep 10 '14 at 13:52) chilldll

Error Message:- The method or operation is not implemented.

Dim sftp As New Chilkat.SFtp()
    Dim success As Boolean

    sftp.VerboseLogging = True
    sftp.DebugLogFilePath("d:\\Test.txt")

    success = sftp.UnlockComponent("Anything for 30-day trial")
    If (success <> True) Then
        MsgBox(sftp.LastErrorText)
        Exit Sub
    End If
link

answered Sep 10 '14 at 13:52

chilldll's gravatar image

chilldll
3631015

I have no idea because the UnlockComponent method is certainly present.

(Sep 10 '14 at 13:55) chilkat ♦♦

Is there any mistake in my syntax ?? Do you think, we have to purchase it for proceeding for Prototype

(Sep 10 '14 at 14:04) chilldll

DebugLogFilePath is a property, not a method. You should do this instead:

sftp.DebugLogFilePath = "d:\Test.txt"

link

answered Sep 10 '14 at 16:03

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×201
×43
×7

Asked: Sep 10 '14 at 11:20

Seen: 1,096 times

Last updated: Sep 10 '14 at 16:03

powered by OSQA