Programmer's Guide > Interfaces > CMSSession interface > getFile method
  
getFile method
Downloads an object from the CMS to a local file and returns the local path name. This method is typically used to retrieve graphic objects.
getFile(logicalId [, notation] )
Parameters
StringlogicalId
Specifies the Logical ID.
Stringnotation
[optional] Specifies the graphic file format, if applicable.
Returns
String. A local file name. It can be assumed that the adapter is tracking the files it returns and it will manage them appropriately. The application developer must not delete this file.
Throws
CMSException
If an error occurs.