cfclient.file.download

Download a file

You can download a file from  a remote server..

Method summary

cfclient.file.download(url,localFilePath,successCallback, errorCallback,[options])

  • returns - FileEntry object
  • params
    • url - The remote server URL (CFM page)
    • localFilePath – Absolute or relative path of a file name (including file name)
    • successCallback - The function to be invoked upon success/completion
    • errorCallback - The function to be invoked if there is a file transfer error
    • options object (see below for the supported options)

Options object

Optional parameters, currently only supports headers (such as Authorization (Basic Authentication), etc).

Example 

See Getting Started Examples

 Adobe

Get help faster and easier

New user?