AI - Internet Commands

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > AI - Artificial Intelligence Commands > AIC. - Artificial Intelligence Command > AI - Internet Commands >

AI - Internet Commands

AIC.URL Save File

Previous Top Next


MiniRobotLanguage (MRL)

 

AIC.URL Save File

Download file from a WEB-Link

 

 

Intention

 

This command downloads a file from a web link. If successful, it places a '0' on the Top of Stack (TOS).

In case of an error, a different number will be indicated on the TOS.

This command allows you to specify the filename you wish to use for downloading the file.

 

 

Syntax

 

 

AIC.URL Save File|P1|P2

 

 

Parameter Explanation

 

P1 - URL of the file to be downloaded

P2 - Filename of the file where the downloaded File from the URL in P1 should be stored.

 

On success it will put a "0" on TOS. On Error, another number can be found on TOS.

 

 

Example

 

'***********************************

' AIC.-Sample

'***********************************

$$URL=https://svn.apache.org/repos/asf/poi/trunk/poi-examples/src/main/java/org/apache/poi/examples/ss/BusinessPlan.java

$$FIL=?path\Myfile.txt

AIC.URL Save File|$$URL|$$FIL

ENR.

 

 

 

Remarks

 

-

 

 

Limitations:

 

-

 

 

See also: