This is an old revision of the document!


Download a File

http://host/downloadfile?filepath=directory_path/file_name&filename=file_name

Inputs:

  • filepath: path (including file name) to target file to download
  • filename: target file to download

Outputs:

  • type: downloadfile
  • result: 1 for success and 0 for fail (this doesn’t really need to be checked because the file will download and you will see it, or it won’t)