irules for ftp traffic

Is it possible to get an irule to direct FTP traffic based on url?

We have 2 pools (each with an FTP server in it) and we’d like traffic coming to ftp.company.com to go to pools A, while traffic coming ftp.company.com/ftp is directed to pool B. Is this possible? Or can anyone offer any assistance on how to accomplish this?

Click here to view something similar to what you are asking for. This might help you write up a way to direct your traffic to a different pool.