Unable to pull file from iOS device

Is the driver.pull_file(/path) method available for android and ios?

I tried to use the same for ios and I get the below error

File “/Library/Python/2.7/site-packages/selenium/webdriver/remote/webdriver.py”, line 173, in execute
File “/Library/Python/2.7/site-packages/appium/webdriver/errorhandler.py”, line 29, in check_response
raise wde
selenium.common.exceptions.WebDriverException: Message: u"ERROR running Appium command: Cannot call method ‘getDirs’ of undefined"

What is the format for ios?

driver.pull_file(Documents/myfile) ?
driver.pull_file(/My Device/my app/Documents/myfile) ?