here is an example

$host="ftp.myhost.com"
$user="myuser"
$password="123456"

OPENHOST($host,$user,$password)
PUTFILE("*.*",SUBDIRS)



________________________________
From: Mikeb <[email protected]>
To: RBASE-L Mailing List <[email protected]>
Sent: Sat, February 26, 2011 1:48:40 PM
Subject: [RBASE-L] - Re: Passing a variable from Rbase

how does the ftp program get the variables? Command Line?


----- Original Message ----- From: "TOM HART" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Saturday, February 26, 2011 1:14 PM
Subject: [RBASE-L] - Passing a variable from Rbase


> Can a variable be passed from Rbase to another program that can use variables.
> EG
> I found an FTP program that I can integrate into Rbase,  this program can use
> variables
> 
> In Rbase
> set variable in Rbase-  set var vFTPHost text = 'My host name'
> 
> I know in Rbase the variable will be .vFTPHost but in the FTP program a 
>variable
> is defined with $variablename
> Can this be done
> 
> Tom Hart
> 

Reply via email to