Loading urls from a protected website

Eric Chatonet eric.chatonet at sosmartsoftware.com
Thu Dec 7 10:08:13 CST 2006


Hi Trevor,

Thanks for this pointer :-)
The solution with which I have ended (see a previous post) works well.
But I have to add that when I use:

put "ftp://" & tUserName & colon & tPassword & "@" & tAddress into tUrl
load url tUrl --

tAddress form is: <Server IP Address>/public_HTML/<Path>
<domain name>/<Path> form does not work :-(
So I have put an encrypted file on the server buried in the public  
area (then accessible by specifying the domain only) that allows the  
app to get the server IP address and all "paths" just in case all  
this would be changed.

Best Regards from Paris,
Eric Chatonet

Le 7 déc. 06 à 05:26, Trevor DeVore a écrit :

> On Dec 6, 2006, at 7:15 AM, Eric Chatonet wrote:
>
>> Now I have protected access to the website folders (usual login  
>> and password).
>> So I can no longer use "load": the command returns a 401 error  
>> (protected access).
>> Normal.
>> I must use ftp that allows to specify a username and a password  
>> but I am no longer able to display download progress :-(
>> Your thinking will be welcome :-)
>
> Hi Eric,
>
> You should be able to use "load" with authorization callbacks.   
> Look at Mark Waddingham's libAuth stack in RevOnline.  The username  
> is 36degrees.  The stack script shows an example which hopefully  
> will work for you.
>
> -- 
> Trevor DeVore
> Blue Mango Learning Systems - www.bluemangolearning.com
> trevor at bluemangolearning.com
------------------------------------------------------------------------ 
----------------------
http://www.sosmartsoftware.com/    eric.chatonet at sosmartsoftware.com/





More information about the use-livecode mailing list