Site Map Contact Us Home
E-mail Newsletter
Subscribe to get informed about
Clever Components news.

Your Name:
Your Email:
 
SUBSCRIBE
 
Previous Newsletters
 




Products Articles Downloads Order Support
Customer Portal     

Uploader Description

Features | Detailed Description

Available in VCL and ActiveX editions.

The Uploader component allows you to upload the Internet-resources asynchronously and obtain all necessary information related to those resources without interfering into the main application processes.

This component supports uploading data via HTTP, HTTPS and FTP protocols. To upload data through HTTP protocol, the Uploader may perform single POST request or multiple separated requests with pre-defined portions of data. Uploading process can be visually represented with a progress bar, stop/resume and many other useful features.

Please see the Demos code (Uploader, SubmitFile) and also the indexed Help documentation provided with the Clever Internet Suite installation for more details about using this component.

The most common members of the Uploader component can be seen below:

Property List

  Name   Description
 BatchSize Specifies the size of the transferred batch.
 CertificateFlags Allows ignoring certificate validation errors. To get more information about using certificates in the Clever Internet components see Using certificates page.
 DataStream Defines the data stream to be uploaded.
 Errors Contains list of errors for the internet control.
 ForceRemoteDir Forces the component to create a new ftp directory and also creates its parents, if needed.
 HttpProxySettings,
   FtpProxySettings
Specifies the name of the proxy server(s) to use when access via proxy is specified.
 HttpResponse Provides the text representation of the server response to any of the previous requests.
 HttpResponseStream Provides the binary representation of the server response to any of the previous requests.
 HttpResponseHeader Represents information about the HTTP response header fields.
 HttpRequest Provides the Http Request object to be sent to the server with the POST method.
 LocalFile Specifies the file name, from which the resource is obtained for uploading.
 MinResourceSize Specifies low bound of resource size range in which the specified resource will be processed.
 MaxResourceSize Specifies high bound of resource size range in which the specified resource will be processed.
 PassiveFTPMode Specifies passive FTP mode during connection.
 Password Specifies the password that allows a control to log on to the server.
 Priority Determines the resource processing scheduling priority relative to other processes.
 ReconnectAfter Determines the time-out interval (in milliseconds) beetween reconnects.
 ResourceInfo Provides information about the processed resource.
 ResourceState Contains the processing state: speed, time estimations, bytes proceeded.
 TimeOut Determines the time-out interval (in milliseconds) for initiating the request for resources.
 TryCount Determines the number of attempts to process a resource.
 URL Specifies the Uniform Resource Locator (URL), to which the resource should be uploaded.
 UseHttpRequest Specifies whether the component should use HttpRequest with the HTTP POST method or just do uploading with the HTTP PUT method.
 UseInternetErrorDialog Allows users to set up a certificate in the interactive GUI mode. To get more information about using certificates in the Clever Internet components see Using certificates page.
 UserName Specifies the user name that allows a control to log on to the server.

Method List

  Name   Description
 CloseConnection Closes all opened internet connections.
 GetAllCookies Retrieves all cookies for the specified URL.
 GetCookie Retrieves the cookie with the specified name for the specified URL.
 GetFtpDirList Gets a list of files and directories on the FTP server.
 GetResourceInfo Returns the information about the resource assigned to a specific item.
 ReadRegistry Loads internet component settings from the System Registry.
 SetCookie Creates a cookie associated with the specified URL.
 Start Starts the uploading process.
 Stop Stops the resource uploading.
 WriteRegistry Saves internet component settings to the System Registry.

Event List

  Name   Description
 OnDataItemProceed Occurs when a batch is uploaded.
 OnError Occurs when an error is encountered when performing any action.
 OnGetCertificate Occurs when a server needs a certificate for establishing the connection. To get more information about using certificates in the Clever Internet components see Using certificates page.
 OnGetResourceInfo Occurs when obtaining the information about a resource.
 OnProcessCompleted Occurs when a specified internet item completed the resource processing.
 OnStatusChanged Occurs on any resource processing event.
 OnURLParsing Occurs on parsing a URL where a resource is located.

    Copyright © 2000-2019