This function retrieves a remote file from a Nirvanix account. The file does not need to be shareable for it to be retrieved by this function.
Contents |
NXGetFile( sessionToken, remoteFile, localFile )
This function returns a CFML structure object with the filename, ext, fullpath of the retrieved file
<cfset sessionKey= NXLogin( appKey, user, pass )> <cfset userData = NXGetFile( sessionKey, "/backup/smallimg.jpg", "/tmp/smallimg.jpg" )>