Forum Discussion

adiezma_1656's avatar
Icon for Nimbostratus rankNimbostratus
Mar 05, 2012

Redirect HTTP to FTP in browser





I need to do a redirect from to




The redirect involves a change of protocol, and do not know if it is advisable to do in F5 or if you can do. It's possible with a iRule?




The purpose of this is that users do not have to put ftp:// at the beginning of the bar of the browser to connect to a particular ftp.










1 Reply

  • Hi Antonio,

    That logic should work for browsers that support ftp:// links. Does it work if you test it?

    when HTTP_REQUEST {
       if {[string tolower [HTTP::host] eq ""}{
          HTTP::redirect "[HTTP::path]"