- Upload Suite Overview
- What's New?
- Choosing Upload Technology
- Evaluating Upload Suite
- Upload Suite Editions
- System Requirements
- Installation and Deployment Notes
- ActiveX/Java Uploader
- Where ActiveX/Java Uploader Can Be Useful
- Before You Started with ActiveX/Java Uploader
- ActiveX/Java Uploader Fundamentals
- ActiveX/Java Uploader User Interface
- Getting Started
- Using ActiveX/Java Uploader
- Troubleshooting
- Reference
- ActiveX/Java Uploader ASP.NET Reference
- ActiveX/Java Uploader PHP Reference
- ActiveXControl Class ActiveX/Java Uploader PHP
- AddFilesProgressDialog Class ActiveX/Java Uploader PHP
- AuthenticationDialog Class ActiveX/Java Uploader PHP
- BackgroundImageFormat Class ActiveX/Java Uploader PHP
- BaseClientControl Class ActiveX/Java Uploader PHP
- BaseControl Class ActiveX/Java Uploader PHP
- ClientEvents Class ActiveX/Java Uploader PHP
- ContextMenu Class ActiveX/Java Uploader PHP
- ConvertedFile Class ActiveX/Java Uploader PHP
- Converter Class ActiveX/Java Uploader PHP
- DeleteFilesDialog Class ActiveX/Java Uploader PHP
- DescriptionEditor Class ActiveX/Java Uploader PHP
- DetailsViewColumns Class ActiveX/Java Uploader PHP
- FolderPane Class ActiveX/Java Uploader PHP
- FontFormat Class ActiveX/Java Uploader PHP
- ImageEditor Class ActiveX/Java Uploader PHP
- ImageFormat Class ActiveX/Java Uploader PHP
- InformationBar Class ActiveX/Java Uploader PHP
- InstallationProgress Class ActiveX/Java Uploader PHP
- JavaControl Class ActiveX/Java Uploader PHP
- Messages Class ActiveX/Java Uploader PHP
- Metadata Class ActiveX/Java Uploader PHP
- Package Class ActiveX/Java Uploader PHP
- PaneItem Class ActiveX/Java Uploader PHP
- PostFields Class ActiveX/Java Uploader PHP
- QualityMeter Class ActiveX/Java Uploader PHP
- Restrictions Class ActiveX/Java Uploader PHP
- StatusPane Class ActiveX/Java Uploader PHP
- Thumbnail Class ActiveX/Java Uploader PHP
- ThumbnailClientEvents Class ActiveX/Java Uploader PHP
- TreePane Class ActiveX/Java Uploader PHP
- UploadedFile Class ActiveX/Java Uploader PHP
- Uploader Class ActiveX/Java Uploader PHP
- UploadHandler Class ActiveX/Java Uploader PHP
- UploadPane Class ActiveX/Java Uploader PHP
- UploadProgressDialog Class ActiveX/Java Uploader PHP
- UploadSettings Class ActiveX/Java Uploader PHP
- AmazonS3Extender Class ActiveX/Java Uploader PHP
- FileSettings Class ActiveX/Java Uploader PHP
- ActiveX/Java Uploader JavaScript Reference
- ActiveX/Java Uploader Client-Side Events Reference
- POST Field Reference
- HTML5/Flash Uploader
- Licensing Information
- Legal Notices
Metadata.Hash Property ActiveX/Java Uploader PHP
Gets or sets an algorithm to generate a hash value for each user-selected file.
Syntax
public function getHash() {
}
public function setHash($value) {
}
Property Value
Type: string
The algorithm to generate a hash value for each user-selected file.
Possible values are listed in the table below.
| Value | Description |
|---|---|
| SHA | SHA hash algorithm. |
| MD2 | MD2 hash algorithm. |
| MD5 | MD5 hash algorithm. |
You can specify several hash algorithms separated by semicolon.
Default value is "".
Remarks
ActiveX/Java Uploader Express does not upload hash sums. See the Upload Suite Editions topic for details.
The hash is calculated only for the original file, not for converted files (even if the original file is not uploaded).
To get an uploaded hash sum at the server, use the Package.PackageFields collection.
Here this value can be retrieved by a key named in the following way: HashCodeXXX_N, where XXX is a string value specified in this property (hash algorithm),
and N is the index of the file in the request. E.g. if the property value is MD5;SHA, the PackageFields
collection will contain the following keys:
HashCodeMD5_1,HashCodeMD5_2, etc.HashCodeSHA_1,HashCodeSHA_2, etc.
Hash calculation is quite resource-intensive operation. That is why if you do not need to verify uploaded files on the server, it makes sense to disable this feature to make ActiveX/Java Uploader faster. To do it, just specify empty string in this property.