# Transfer file 30M+ with enabled ASM

**URL:** <https://community.f5.com/t/transfer-file-30m-with-enabled-asm/49562>\
**Category:** Technical Forums\
**Tags:** irules, asm-advanced-waf, application-delivery\
**Created:** [June 22, 2021, 7:39am UTC](https://community.f5.com/t/transfer-file-30m-with-enabled-asm/49562 "2021-06-22T07:39:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vladimir\_Shishk](https://avatars.discourse-cdn.com/v4/letter/v/4af34b/32.png) [@Vladimir\_Shishk](https://community.f5.com/u/Vladimir_Shishk)\
**Post date:** [June 22, 2021, 7:39am UTC](https://community.f5.com/t/transfer-file-30m-with-enabled-asm/49562/1 "2021-06-22T07:39:09Z")

</div>

Hello.

I have a ASM enabled SSL-site. I need to transfer files via HTTP PUT with size more than long\_request\_buffer\_size (default 10M, maximum 30Mb).

I tried to use an iRule script to stop ASM processing but nothing happened, large files are not transfered.

What should I do?

Thank you.

```tcl
when HTTP_REQUEST {
if {[HTTP::method] equals "PUT" } {
ASM::disable
log local0. "ASM disabled for upload directory for [IP::client_addr]."
} 
else {
ASM::enable SSSSSSSS
log local0. "ASM enabled. Current ASM policy is [ASM::policy]"
}
}

```
