Difference between revisions of "ISKernel:HTTPGet (Command)"

From Lavish Software Wiki
Jump to navigation Jump to search
 
Line 12: Line 12:
  
 
== Examples ==
 
== Examples ==
 +
httpget -file "${LavishScript.CurrentDirectory}/test.out"  "http://www.somewebsite.com/test.txt"
 +
 +
will retrieve the data located inside www.somewebsite.com/test.txt and output it to test.out which will be located in your base Innerspace directory.
  
 
== See Also ==
 
== See Also ==

Revision as of 18:40, 16 April 2008

Syntax

Command Difficulty Rating
HTTPGet
Usage Newbie
Level of Understanding Intermediate
Computer Savvy Intermediate
Logic Newbie

HTTPGet [-atom <name>|-file <filename>] <URL>

Forms

  • HTTPGet <URL>
Retrieve a URL, output to console
  • HTTPGet -atom <atom name> <URL>
Retrieve a URL, execute an atom with the result in a binary Context object
  • HTTPGet -file <filename> <URL>
Retrieve a URL, output to file

Examples

httpget -file "${LavishScript.CurrentDirectory}/test.out" "http://www.somewebsite.com/test.txt"

will retrieve the data located inside www.somewebsite.com/test.txt and output it to test.out which will be located in your base Innerspace directory.

See Also