QT: How do I put text into a text file on the web (this is just too easy but can't get it to work)
William de Smet
williamdesmet at gmail.com
Thu Mar 13 15:30:54 EDT 2008
Hi Mark,
Tried your suggestion also but no result.
Could it be a CHMOD issue then?
What should the CHMOD be of that file?
greetings,
William
2008/3/13, Mark Schonewille <m.schonewille at economy-x-talk.com>:
> Hi William,
>
> put fld results into url "ftp://user:password@ftp.domain.com/file.txt"
>
> ftp.domain.com is sometimes www.domain.com, home.domain.com or
> something else.
>
> For nicer ways to do this, check out the docs regarding libURL, but if
> your file is small the above should work fine.
>
> Best regards,
>
> Mark Schonewille
>
> --
>
> Economy-x-Talk Consulting and Software Engineering
> http://economy-x-talk.com
> http://www.salery.biz
>
> A large collection of scripts for HyperCard, Revolution, SuperCard and
> other programming languages can be found at http://runrev.info
>
>
>
>
>
> On 13 mrt 2008, at 20:11, William de Smet wrote:
>
> > Hi there all,
> >
> > This is an easy one but I having a lot of trouble with it.
> > I got a field with text and I want to put this text into a file
> > somewhere on the internet (www.server.com/textfile.txt). I put the
> > file there myself through FTP.
> >
> >> From the documentation I got:
> > post field "Results" to URL "http://www.example.org/current.txt"
> >
> > When I put this code into a button it doesn't work (of course adapted
> > to my own situation)
> > I looked at CHMOD and changed it from 644 to 777.
> > But no result.
> >
> >
> > What am I doing wrong?
> >
> > Thanks.
> >
> > greetings,
> >
> > William de Smet
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list