HTTP.getFile() This page was last modified over 30 day(s) ago and has 1 comment(s)


Back to HTTP Class Summary

Availability
Windows, Mac OSX, Linux

Usage
httpInstance.getFile(url:String, username:String, password:String, localFilePath:String):Void

Parameters
url:String - Server path to remote file.

username:String - Username

password:String - Password

localFilePath:String - Path to local file to be created.

Returns
Nothing

Description
Silently downloads any HTTP file in binary mode with the specified parameters.

Notes
None

Example Code
myHTTP.getFile("http://www.mydomain.com/myFile.zip", "", "", "c:\\myFile.zip");

mdm.HTTP Class Example Downloads
No Example Downloads Available


User Comment by Cap on 8th July 2010 - 12:29
Hello,
Does it works with https:// ?
Thanks

Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here
  After Logging In, Click Here to Refresh This Page