## Aurigma Image Uploader 7.0.11

# UploadSettings.FilesPerPackage Property

- Collapse All Sections
- See Also
- Language Filter ( all languages )
- Supported browsers:

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-serlected 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, Image 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 Image Uploader and allows resuming partially completed upload if it has been broken, etc.

## See Also

### Reference

- Aurigma.ImageUploader.UploadSettings.FilesPerPackage ASP.NET Property
- $au.uploadSettings.filesPerPackage JavaScript Property

### Manual

- Sending All Files at Once or in Several Parts
- Configuring Fail-Safe Upload