Username in LastErrorText

Question: I discovered that the program is trying to use the Computer System Username to instead of the username given in the program code to connect to the server. Answer: The Chilkat component is not trying to use the Computer System username. The LastErrorText will (almost) always include the process’s logged-on username in the beginning, along with other pieces of information […]

SFTP GetFileSize32 returns 4294967295

Question: I have an issue with the SFTP component. When using the GetFileSize32 it returns 4294967295 for a file with length of 1324 bytes. L When using the GetFileSizeStr it returns Nothing for a file with length of 1324 bytes. L Answer: GetFileSize32 returns -1 when it fails, so I suspect that if your variable is unsigned, -1 will appear […]

VB.NET HTTP Download with percent-done progress monitoring

Here is an example: Dim WithEvents http As Chilkat.Http Private Sub http_OnPercentDone(ByVal sender As Object, ByVal args As Chilkat.PercentDoneEventArgs) Handles http.OnPercentDone ProgressBar1.Value = args.PercentDone End Sub Private Sub HttpDownloadTest() http = New Chilkat.Http() Dim success As Boolean ‘ Any string unlocks the component for the 1st 30-days. success = http.UnlockComponent(“Anything for 30-day trial”) If (success True) Then MsgBox(http.LastErrorText) Exit Sub […]