---
title: "events.beforePackageUpload Property  ActiveX/Java Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/JA_P_J_$au_events_beforePackageUpload.htm
product: "Upload Suite 8"
---

# events.beforePackageUpload Property ActiveX/Java Uploader JavaScript

Supported browsers: ![Internet Explorer](https://www.aurigma.com/docs/us8/icons/ie8.png)![Firefox](https://www.aurigma.com/docs/us8/icons/firefox.png)![Google Chrome](https://www.aurigma.com/docs/us8/icons/chrome.png)![Safari](https://www.aurigma.com/docs/us8/icons/safari.png)
 
Gets or sets an array of [BeforePackageUpload](https://www.aurigma.com/docs/us8/JA_E_Uploader_BeforePackageUpload.htm.md) event handlers.

## Syntax
 
```
$au.uploader({
    events: {
        //...other params...
        beforePackageUpload: [],
        //...other params...
    }
})
```

```
$au.uploader('uploaderID').events().beforePackageUpload(value);
value = $au.uploader('uploaderID').events().beforePackageUpload();
```
 
### Property Value
 
Type: [$au.event](https://www.aurigma.com/docs/us8/JA_T_J_$au_event.htm.md)
 
The string containing the name of **BeforePackageUpload** event handler or an array of handler names.

## Remarks
 
This event fires when the current package is about to be uploaded.

## See Also
 
### Reference
 
- [BeforePackageUpload Client-Side Event](https://www.aurigma.com/docs/us8/JA_E_Uploader_BeforePackageUpload.htm.md)
- [ClientEvents.BeforePackageUpload PHP PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_P_ClientEvents_BeforePackageUpload.htm.md)
