Hi Mark, I wouldn't mess with file permissions if you're not absolutely sure that it is necessary.
In your first example, you use put URL "http://www.bla.com/etc" but in your second script you write put file URL "http://..." which is wrong. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com On 25 jun 2012, at 18:37, Mark Rauterkus wrote: > Hi, > > Newbie: > > This works in a button: > > on mouseUp > put URL "http://www.Rauterkus.com/dreamers/2012/here.html" into > field "URL_Catcher" > end mouseUp > > But this does not work in a button -- showing all the failures in all > sorts of ways. > > on mouseUp > -- open file URL "http://Rauterkus.com/dreamers/2012/here.txt" > -- put "Hello from LiveCode" into URL > "http://Rauterkus.com/dreamers/2012/here.txt" > -- close file URL "http://Rauterkus.com/dreamers/2012/here.txt" > > -- not working with permissions at 666 > --put field "URL_Catcher2" into URL > "http://Rauterkus.com/dreamers/2012/here.txt" > > --not working with permissions at 666 > --put field "URL_Catcher2" into line 1 URL > "http://Rauterkus.com/dreamers/2012/here.txt" > > -- not working testing at permissions 666: > -- put "LiveCode lives" into URL > "http://Rauterkus.com/dreamers/2012/here.txt" > > -- testing failed when there was NOT a file already created. > -- open file URL "http://Rauterkus.com/dreamers/2012/here.txt" > -- put "LiveCode lives" into URL > "http://Rauterkus.com/dreamers/2012/here.txt" > -- close file URL "http://Rauterkus.com/dreamers/2012/here.txt" > > -- not working -- MR Moved PERMISSIONS on the web for the here.text > file to 777 > -- put "LiveCode lives" into URL > "http://Rauterkus.com/dreamers/2012/here.txt" > > open file URL "http://Rauterkus.com/dreamers/2012/here.txt" > put "LiveCode lives" into URL "http://Rauterkus.com/dreamers/2012/here.txt" > close file URL "http://Rauterkus.com/dreamers/2012/here.txt" > > > end mouseUp > > > The file Permissions were changed to most liberal: > -rwxrwxrwx (777) > > Before they were 666 too. _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode