The file specified by the setServerFileName method is downloaded from the MobiLink server to the path specified by the setLocalPath
method using the specified stream, userName, password, and script version.
Further options can be specified using the setLocalFileName(), setAuthenticationParms() and setResumePartialTransfer() methods.
To avoid file corruption, for desktop and BlackBerry file system downloads, UltraLiteJ downloads to a temporary file and only
replaces the local file once the download has completed.
For BlackBerry object store downloads, UltraLiteJ starts to write to the local store directly. This is because, in this case,
it is not possible to create atomic temporary objects. Any existing local database store with the same name is corrupted upon
invoking the transferFile method.
A detailed result status can be fetched using the getAuthStatus(), getAuthValue(), getFileAuthCode(), isTransferredFile(),
getStreamErrorCode(), and getStreamErrorMessage() methods.