addFile Method

 Object: DownloadClient
 Syntax: boolean addFile(String fileURL, String filename)
 Returns: Boolean
 Description: addFile adds a file the list of files to download. Returns True if the file was added to the list, False if not.

addFile takes two parameters:
  • fileURL
    The URL of the file to download

  • filename
    The local path and file name of the downloaded file

 

Previous Page Next Page