Can files transferred with SFTP be seen on the server before they are fully transferred?
Is file transferred with SFTP available on the server before it is fully transferrred?
Multi-thread c# heavy get-post lags and eating so much memory suddenly !!
Well i am running trial now and willing to purchase it asap but something is very wrong on disposing or clearing objects when i run http post and get multithread app it runs well lag free under 500 or max 500 thread i am disposing requests, http also in finally {} (block), the problem is once i increase threads like 1000 after running 15-20 mins fine suddenly its starts to use more then 1.5GB memory , see physical memory isnt an issue our server has like 64gb ram and neither cpu is an issue its 64 core server, please guide me whats wrong if its sorted i am sure we need the license asap , as we need to look for something alternative thanks
Error when using CCM and HTTPS (MHT component)
Component is unable to connect to a server using "Centralized Certificate Management" (IIS).
Could there be another way to obtain additional information?
DllDate: Jan 19 2012 Architecture: Little Endian; 64-bit Language: .NET 4.0 / x64 port: 443 --connectSChannel Failed. --GetAndSaveMHT --ChilkatLog
Hosting chilkat http AX in a VB Active X Control
We have a legacy VB Active X hosted by our ASP.NET site, which leverages the inet, making secure calls to our web site, honoring authentication.
Based on inspecting a sample POST from Fiddler, it sends ASP.NET_SessionId and Application specific cookies from User-Agent: Microsoft URL Control - 6.01.9782.
We'd like to replace the problematic Internet Transfer Control with the chilkathttp control.
I attempted to make an identical call immediately below the inet call, using logic similar to the logic below. We are receiving an authentication error, as expected.
Dim resp As ChilkatHttpResponse http.AddQuickHeader "DNT", "1" http.AddQuickHeader "Pragma", "no-cache" http.AddQuickHeader "Accept", "image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*" http.AddQuickHeader "Host", "PC-201" http.AddQuickHeader "User-Agent", "Microsoft URL Control - 6.01.9782" Set resp = http.PText("POST", sURL, sPostData, "UTF-8", "multipart/form-data; boundary=" & sBoundary, 0, 0)
We are running into communication issues in some environments with some Microsoft service patches. The inet control returns an empty string, a POST call made to the same site using chilkathttp returns a 200, and a response indicating that authentication failed. We are using form based authentication, session cookies are passed by IE and by the inet control.
Is the Internet Transport Control granted special permissions when hosted in IE? Can we host the chilkathttp control in a manner which will give us similar pass through authentication.
As an experiment I tried to pass a cookie pulled from a file (below), where the contents were updated based on a current session visible from Fiddler. It didn't work, same authentication error. I don't even see my failed attempts in Fiddler from chilkathttp.
Dim Session Session = ReadTextFileAsString("c:\session.txt") http.AddQuickHeader "Cookie", Session
ANDROID: Email (POP3/IMAP) and using ASYNC
We are working on an Android app for emails. Need to code in some ASYNC processing for threading issues (bit new for me) but not sure the best way to do this with Chilkat. Started going through the online examples but the website started popping "404 Errors - File or Directory not found" on any example.
So, started going through the actual documentation and not sure how best to proceed. Hoping someone on here can point us in the right direction.
A basic overview, our main thread lists a couple email accounts. Hitting a single button will cause the emails to be checked for new emails. Each "account" calls an update procedure independently.
This separate procedure: - puts in the account credentials in either MAILMAN or IMAP calls. - Logs into the server - Gets all the UIDLs - Compares them for new ones - Fetchs each new email as needed - Logs out
We will want each account to keep a progress bar or counter going as this is processing, individually.
Looking through the documentation, almost every main function (GetMailboxCount, GetUidls, FetchEmail,...) has an ASYNC version it seems. So the question is, do I call the ASYNC version for each function... "running" it individually, or do I some how wrap them all in a different ASYNC thread?
Any help or suggestions or direction... would be greatly appreciated.
VC++ 6.0 CkHttp hangs up in delete/destructor until time-out met
I'm doing an http request in its own thread, which waits for it to be finished (a 180 second timeout) or for the user to abort it.
Using the background mode, I expected to be able to abort the request. Even though I call BgTaskAbort, it hangs up trying to return from the function that creates the CkHttp object. It seems that the CkHttp destructor waits for the timeout to be finished before returning. The same thing happens if I use "new" to create the CkHttp object and "delete" to delete it -- it will not return from the "delete" call until the 180 seconds has elapsed.
Here's a code snippet:
bool Request()
{
CkHttp http;
CkHttpRequest req;
/// (code to set up req...)
http.put_UseBgThread(true);
CkHttpResponse *resp = 0;
http.put_ConnectTimeout(180);
http.put_ReadTimeout(180);
resp = http.SynchronousRequest (g_strDomain, g_nPort, true, req);
// resp is not expected to be valid yet....
// now start waiting
int nCount = 0;
BOOL fFinished = (http.get_BgTaskRunning() != true);
// m_fGiveUp is set in another thread if Abort button clicked
while (!m_fGiveUp && !fFinished && nCount*4 < 180)
{
http.SleepMs (250); // check once per 1/4 second
nCount++;
fFinished = (http.get_BgTaskRunning() != true);
};
if (!fFinished)
{
// "Abort" clicked...
http.BgTaskAbort();
m_fGaveUp = TRUE;
return FALSE;
//// HANGS UP HERE WAITING FOR CKHTTP TO BE DELETED BEFORE LEAVING THE FUNCTION
}
}
So, am I doing something wrong? Is there any way around this?
I also tried making the CkHttp object static, which did let it leave the function immediately, but then when another request is made it would hang up (presumably waiting for the first one to time out).
Note: I am using a version from 2010. Tried to use the new version 9.5, but wouldn't compile without changes to my code (some of the Mail/MailMan functions changed, so I'm not ready to migrate yet. If this was a known bug that has since been fixed, let me know and I'll make the effort.
The post data isn't getting to the ASP.NET page.
The content-length is 0.
Dim resp As ChilkatHttpResponse
http.AddQuickHeader "Content-Type", "multipart/form-data; boundary=" & sBoundary
http.AddQuickHeader "Pragma", "no-cache"
http.AddQuickHeader "Content-Length", Str(Len(sPostData))
http.AddQuickHeader "Accept", "image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*"
http.AddQuickHeader "Host", "MRO-PC-201"
http.AddQuickHeader "User-Agent", "Chilkat URL Control"
http.AddQuickHeader "Connection", IIf(bKeepAlive, "Keep-Alive", "close")
Set resp = http.PText("POST", sURL, sPostData, "UTF-8", "", 0, 0)
If (resp Is Nothing) Then
OutputDebugString "$$$BUpload.Upload, Called chilkat http, resp in nothing"
Else
OutputDebugString "$$$BUpload.Upload, Called chilkat http, resp.StatusCode: " &
resp.StatusCode
OutputDebugString "$$$BUpload.Upload, Called chilkat http, resp.BodyStr: " &
resp.BodyStr
End If
Server-Side
Connection: close Pragma: no-cache Content-Length: 0 Content-Type: multipart/form-data; boundary=---------------------------8dccc3035047a0; boundary=------------020009050006070508010404 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, / Accept-Encoding: gzip Accept-Language: en-us,en;q=0.5 Host: MRO-PC-201 User-Agent: Chilkat URL Control
If I include: http.AddQuickHeader "Custom-Length", Str(Len(sPostData)) I see: Custom-Length: 582
Chilkat UWP does not work on Windows 10 IOT
When trying to run Chilkat UWP samples on Windows 10 IOT, get exception: Additional information: Requested Windows Runtime type 'Windows.System.Profile.HardwareIdentification' is not registered.
Then found this: https://ms-iot.github.io/content/en-US/win10/UnavailableApis.htm
Will there be a fix for this or I should look for other component for ssl support?
Setting "Deleted" Flag does not remove email from IMAP mailbox?
I hope you can help with a minor problem I have with IMAP component.
I am running this code:
success = imap.SetMailFlag(email, "Deleted",1);
But, when I am quering for new messages, the mail is still received. This happens until I log into the web interface of my mail provider (one.com). After login, the message is no longer retrieved when I query.
Should I do something else than disconnect after calling the SetMailFlag? Flush cache or similar?
Store Emails in "Sent Items" after sending?
Two issues I wish to address if possible, both with Cloud Exchange (Office 365). I am developing with MS Access 2013, 32 bit
Currently using CDO I can send emails directly via Cloud Exchange through whichever user account. However the email does not get stored in the user’s Sent Items. Will your IMAP AciveX solve this?
I wish to logon to O365 mailboxes and “read” incoming mail to potentially trigger other events in the Access CRM. Again, can I do this with IMAP?
SSH/SFTP Login Failure Resolution
I'm posting this here to potentially help others. A customer reported an SSH/SFTP login failure, yet was passing the correct login/password, AND other programs seemed to work (such as logging in via a terminal).
The problem turned out to be a limit on the number of SSH connections allowed by the server. The server was configured to only allow 1 connection per user except for root. Every time he used Chilkat, there was already one connection existing (the terminal) for the user account, and therefore Chilkat failed. But when trying with the terminal, his app wasn't running and therefore there was no existing connection and the terminal login succeeded.
How to save an encrypted email and later load and send it?
i want save a prepared mail to the FileSystem (Android) insted send it instant. But i also use this:
CkCert userCertificate = ….. ckEMail.AddEncryptCert(userCertificate); ckEMail.SetSigningCert(userCertificate); ckEMail.put_SendSigned(true); ckEMail.put_SendEncrypted(true);after that i call:
ckEMail.SaveEml(mailPath);But if i later use:
ckEMail.LoadEml(mailPath); smtp.SendEmail(ckEMail);
the mail is sent decrypted.
What i have to do to save a encrypted mail and later load and send it encrypted??
How to get the client socket handle after an ASYNC Socket_AcceptNextConnection task ?
This SYNC AcceptNextConnection method returns the client socket handle this way :
clientSocket = CkSocket_AcceptNextConnection(listenSocket,0);
How to obtain the same result with the ASYNC method ?
task = CkSocket_AcceptNextConnectionAsync(listenSocket,0);
The following "CkTask_resultType(task);" return "object"
i.e. how to get the handle of an object just having the task ?
There's no problem with boolean (CkTask GetResultBool), integer CkTask GetResultInt), string results... but with an objet ?
Chilkat CSV Vb.NET Max Number of Rows
I was having an issue where it would not find a single row or column, despite having over 2 million rows and 19 columns. I looked far and deep and couldn't find out why. I then realized there is a limit to the number of rows. After lots of testing i found it to be: 2076015 rows or 336590697 bytes Hope this helps!
ChilkatEmail SaveAllAttachments doesn't download eml file inside email
Hi
using Chilkat activeX v9.5.0.56 we have problems executing SaveAllAttachments method in the case of email containing eml file as attachment. SaveAllAttachments ignore this type of file. With the older version v9.5.0.48 all works fine.
Thanks in advance
Gaetano
SslAllowedCiphers options
Looking at the documentation for the TCP socket component, I see a list for the available SslAllowedCiphers. It seems that SHA384 is the highest level available. We have a client that wants to use SHA512 for their certificates. What are our options? Is SHA1512 supported?
Encrypt/Decrypt not compatible between versions?
i posted this before but the message never showed up. hope this will not be duplicated
We have some code that uses chilkat to encrypt/decrypt a string
trying to change to the newer version of chilkat the decrypt is unable to decrypt the data we have
here is the code we use
crypt.Charset = "us-ascii";
crypt.CryptAlgorithm = "blowfish";
crypt.SecretKey = "secret"
var res = crypt.DecryptStringENC inputString
this worked before but now it returns a null and the error shows simply failure
any idea what to do to make this work?
the encryption code is as follows
crypt.Charset = "us-ascii";
crypt.CryptAlgorithm = "blowfish";
crypt.SecretKey = "secret"
var res = crypt.EncryptStringENC inputString
Is there support for Multi-Factor Authentication
Wondering if there was support for Multi-Factor Authentication (MFA) and if so, what settings do I need to set?
Error: %1 is not a valid Win32 application. in node-webkit 0.12.1 win32
chilkat for nodejs
environment:node-webkit (nw) 0.12.1
code : require("chilkat_win32")
Error: "%1 is not a valid Win32 application. E:nwjs-v0.12.0-win-ia32node_moduleschilkat_win32chilkat.node"
who can help me to solve this problem?
What Product Do I pUrchase...
I have a Windows Server R2 (64) running SQL Server 2008 R2. I need to execute sFTP transfer from within a SQL stored procedure.
Which product should I purchase to accomplish this task?