Getting a URL is working, but not the put -- trying to write to a web file. Troubleshooting needed.

Mark Rauterkus mark.rauterkus at gmail.com
Mon Jun 25 14:56:01 EDT 2012


Hi Mark,

I'm nailing it on "wrong." But I'm not able to figure out how to write
to a file on a web server yet.

Perhaps it is with the server end?

Can anyone make a LC script to change this file?

http://Rauterkus.com/dreamers/2012/here.txt

also known as

ftp://ftp.rauterkus.com/public_html/dreamers/2012/here.txt

Also faild at:

post field "results" to URL
"http://rauterkus.com/public_html/dreamers/2012/here.txt"

Perhaps it is easier to try to write to a drop box location or else
Google Drive?


--
Ta.


Mark Rauterkus       Mark.Rauterkus at gmail.com
PPS Summer Dreamers' Swim and Water Polo Camp Head Coach with
Neighborhood Learning Alliance

http://NeighborhoodLearning.org

http://Rauterkus.blogspot.com
http://FixPA.wikia.com
http://CLOH.wikia.com
412 298 3432 = cell


On Mon, Jun 25, 2012 at 12:37 PM, Mark Rauterkus
<mark.rauterkus at gmail.com> 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.
>
>
>
>
>
> --
> Ta.
>
>
> Mark Rauterkus       Mark.Rauterkus at gmail.com
> PPS Summer Dreamers' Swim and Water Polo Camp Head Coach with
> Neighborhood Learning Alliance
>
> http://NeighborhoodLearning.org
>
> http://Rauterkus.blogspot.com
> http://FixPA.wikia.com
> http://CLOH.wikia.com
> 412 298 3432 = cell




More information about the use-livecode mailing list