File transfer adapter class for the HTTP protocol
Constructor for Http File Transfers
| Parameters: | array – OPTIONAL Options to set |
|---|---|
| Throws ExceptionPhpEnvironmentException: | |
| if file uploads are not allowed | |
Sets a validator for the class, erasing all previous set
| Parameters: |
|
|---|---|
| Return type: | AbstractAdapter |
Remove an individual validator
| Parameters: | string – |
|---|---|
| Return type: | AbstractAdapter |
Send the file to the client (Download)
| Parameters: | string|array – Options for the file(s) to send |
|---|---|
| Return type: | void |
| Throws : | ExceptionBadMethodCallException Not implemented |
Checks if the files are valid
| Parameters: | string|array – (Optional) Files to check |
|---|---|
| Return type: | bool True if all checks are valid |
Receive the file from the client (Upload)
| Parameters: | string|array – (Optional) Files to receive |
|---|---|
| Return type: | bool |
Checks if the file was already sent
| Parameters: | string|array – Files to check |
|---|---|
| Return type: | bool |
| Throws : | ExceptionBadMethodCallException Not implemented |
Checks if the file was already received
| Parameters: | string|array – (Optional) Files to check |
|---|---|
| Return type: | bool |
Checks if the file was already filtered
| Parameters: | string|array – (Optional) Files to check |
|---|---|
| Return type: | bool |
Has a file been uploaded ?
| Parameters: | array|string|null – |
|---|---|
| Return type: | bool |
Returns the actual progress of file up-/downloads
| Parameters: | string|array – The upload to get the progress for |
|---|---|
| Return type: | array|null |
| Throws : | ExceptionPhpEnvironmentException whether APC nor UploadProgress extension installed |
| Throws : | ExceptionRuntimeException |
Checks the APC extension for progress information
| Return type: | bool |
|---|