Forum Discussion
killyou_51014
May 23, 2012Nimbostratus
iRule that redirects client to FTP from HTTP if downloading file greater than 10 MB
Hello. I would like to write an iRule that redirects client from HTTP to FTP while downloading file larger than 10MB. Could you help me please? This doesn't work at all: whe...
John_Alam_45640
May 26, 2012Historic F5 Account
Follow that with:
TCP::close
return
when HTTP_RESPONSE {
if {[HTTP::header "Content-Length"] >= 1048576 && [HTTP::header "Content-type"] contains "application" }{
HTTP::respond 302 Location "ftp://user1:useruser@192.168.0.1:21$uri" Connection Close
log "here2"
TCP::close
return
}
}
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects