Mac vs. Windows
    Dave Cragg 
    dave.cragg at lacscentre.co.uk
       
    Sat Oct  4 05:45:56 EDT 2008
    
    
  
On 3 Oct 2008, at 17:36, Melitón Cardona Torres wrote:
> I use this:
>
> put "ftp://ftp_myFTP@myFTP.com:keyx33@ftp.company.com/" into gNewURL
>
> and I get a connection to the FTP in the Mac compilation, but not in  
> the Windows one.
>
> Any ideas?
Try using urlEncode() on the name and password parts.
Ex:
put urlEncode("tp_myFTP at myFTP.com") into tName
put urlEncode("tkeyx33") into tPass
put "ftp://" & tName & ":" & tPass & "ftp.company.com/" into gNewUrl
But I'm not sure why your example would work on Mac and not Windows.
Dave
    
    
More information about the use-livecode
mailing list