libURL will not accept data in a variable
Roger.E.Eller at sealedair.com
Roger.E.Eller at sealedair.com
Wed Jan 15 10:47:01 EST 2003
Richard,
I have confirmed that the IP in the variable is the correct one.
This URL is used in the following command.
libUrlFtpUpload URL tData, tUrl
Here is the error that was returned.
There was a Script Compile Error at 9:22:26 AM
Error description: Expression: double binary operator
Object: button id 1017 of card id 1002 of stack "Transfer1" of stack
"C:/GeoFTP.rev"
--------------------
put "ftp://"&myServerUser&":"&myServerPass&"@"
&myServerIP&myServerIP&myServerPath&theFileName into tUrl
--------------------
Value: &
Roger Eller
-----------------------------------------------------------------------------------------------------
>> -- This one does NOT work
>> put "ftp://"&myServerUser&":"&myServerPass&"@"
>> &myServerIP&myServerPath&theFileName into tUrl
>>
>> -- This one works
>> put "ftp://"&myServerUser&":"&myServerPass&"@"&"172.000.000.000"
>> &myServerPath&theFileName into tUrl
> It may be that the value of the var myServerIP is not correct. You can
> double-check that with "put myServerIP" in a new line before the line
that
> breaks.
>
> I use vars for all FTP params in WebMerge, so I know its possible.
>
> --
> Richard Gaskin
More information about the use-livecode
mailing list