UploadSettings.FilesPerPackage Property ActiveX/Java Uploader PHP

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets a number of user-selected files which will be processed and uploaded within a single request.

Syntax

PHP
public function getFilesPerPackage() {
}

public function setFilesPerPackage($value) {
}

Property Value

Type: integer

The number of user-selected files that will be processed and uploaded within a single request. If more files are selected, they are submitted in separate requests. When this value is 0, all the files are uploaded in one request.

Default value is 0.

Remarks

When this property is greater than 0, ActiveX/Java Uploader sends converted files and metadata for FilesPerPackage user-selected files per each request. Typical scenario is when you set this value to 1, i.e. every user-selected file is processed and uploaded in a separate request. It gives a number of benefits: reduces amount of memory used on the server to process requests from ActiveX/Java Uploader and allows resuming partially completed upload if it has been broken, etc.

See Also

Reference

Manual