Introduced : BIG-IP_v11.1.0
The iFile interface enables you to manipulate a local load balancer&aposs iFiles. iFiles provide the ability to load an external file into iRules that can be accessed by an iRule using the “ifile” command. To create an iFile, you must first create an iFile file object that loads the file into the system. Then use this interface to create the iFile that can be used by the iRule.


Method Description Introduced
create Creates a set of iFiles. BIG-IP_v11.1.0
delete_all_ifiles Deletes all iFiles. BIG-IP_v11.1.0
delete_ifile Deletes a set of iFiles. BIG-IP_v11.1.0
get_file_name Gets the iFile file object name for an iFile. BIG-IP_v11.1.0
get_list Gets a list of all iFiles on this device. BIG-IP_v11.1.0
get_version Gets the version information for this interface. BIG-IP_v11.1.0
set_file_name Sets the iFile file object name for an iFile. BIG-IP_v11.1.0


Structure Description


Enumeration Description


Exception Description


Constant Type Value Description


Alias Type Description

See Also


The links to the sample code below are remnants of the old DevCentral wiki and will result in a 404 error. For best results, please copy the link text and search the codeshare directly on DevCentral.

Sample Code

The BIG-IP API Reference documentation contains community-contributed content. F5 does not monitor or control community code contributions. We make no guarantees or warranties regarding the available code, and it may contain errors, defects, bugs, inaccuracies, or security vulnerabilities. Your access to and use of any code available in the BIG-IP API reference guides is solely at your own risk.