Zoomed Image

AMSX Scripting Language - Command : downloadfilesecure

Summary

Download a file from an authenticated URL and save it to a local path

Description

Downloads the file at the specified FTP or HTTP URL using the supplied credentials and saves it to the local path. File permissions are checked against the standard permitted folders list.

Parameters

ParameterDescription
cmdftp or http URL to get
Argument 0File to download to
Argument 1username
Argument 2password
Argument 3connection timeout

Syntax


DownloadFileSecure "ftp or http URL to get", "File to download to", "username", "password", "connection timeout"

Return to the AMSX Command Reference