Passing windows authentication from Rev

Ken Ray kray at sonsothunder.com
Mon Sep 8 17:23:01 EDT 2003


Roger,

Try:

  get URL "file://" & urlencode(userName) & ":" & urlencode(password) \
    & "@//ServerName/path/to/folder"

and see what that does...

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/ 

> -----Original Message-----
> From: use-revolution-admin at lists.runrev.com 
> [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of 
> Roger.E.Eller at sealedair.com
> Sent: Monday, September 08, 2003 1:55 PM
> To: use-revolution at lists.runrev.com
> Subject: Passing windows authentication from Rev
> 
> 
> I am trying to pass windows authentication to establish a network 
> connection to a folder located on a server on our LAN. It works for 
> servers that reside in the building, but for others in far 
> away places 
> (these require authentication), it will not prompt for 
> user/pass. So I 
> tried the syntax that the ftp command uses. It doesn't work either.
> 
> revGoUrl("file://ServerName/path/to/folder")
> -- works as expected for local servers.
> 
> revGoUrl("file:username:password@//ServerName/path/to/folder")
> -- opens explorer window with errors (no authentication passed).
> 
> I have tried these methods as well:
> get shell("\\ServerName\path\to\folder")
> -- command shell opens, but nothing happens.
> 
> launch "C:/Documents and Settings/My_Name/Desktop/RemoteShortcut"
> -- This points to a windows shortcut to the remote folder.
> -- It never opened the folder either.
> 
> Thanks for any advice.
> 
> Roger Eller
> roger.e.eller at sealedair.com
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com 
> http://lists.runrev.com/mailman/listinfo/use-> revolution
> 





More information about the use-livecode mailing list