Zip Component, Email Component, Encryption Component ActiveX Control for Zip Compression .NET Components for ASP.NET
ActiveX and .NET Components for Zip Compression, Encryption, Email, XML, S/MIME, HTML Email, Character Encoding, Digital Certificates, FTP, and more ASP Email ActiveX Component


Downloads
.NET 2.0
.NET 1.*
.NET x64
VC++ 6.0
VC++ 7.0
VC++ 8.0
Java
Ruby
Perl 5.8.*
Perl 5.10.*
Python
Bounce ActiveX
Charset ActiveX
Email ActiveX
FTP2 ActiveX
Crypt ActiveX
HTML-to-XML ActiveX
HTTP ActiveX
IMAP ActiveX
MHT ActiveX
MIME ActiveX
RSA ActiveX
Socket ActiveX
Spider ActiveX (free)
String ActiveX (free)
Tar ActiveX
Upload ActiveX (free)
XML ActiveX (free)
XMP ActiveX
Zip ActiveX

Index of Chilkat Blog Posts

April 28, 2008

C++ HTTP Library - AddFileForUpload

Question:
When using the CkHttpRequest to upload a file with AddFileForUpload, how long must the file remain on disk until it may be deleted?

Answer:
AddFileForUpload adds the filepath of the file to be uploaded to the CkHttpRequest. It does not read the contents of the file at the time of calling AddFileForUpload. When the upload is sent (by calling SynchronousRequest) then the upload files are streamed directly from the filesystem to the HTTP server. This allows for files which may be too large to hold in memory to still be uploaded to an HTTP server without unreasonable memory consumption.


Privacy Statement. Copyright 2000-2008 Chilkat Software, Inc. All rights reserved.
Send feedback to support@chilkatsoft.com

Components for Microsoft Windows XP, 2000, 2003 Server, Vista, and Windows 95/98/NT4.