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)

Mark Schonewille m.schonewille at economy-x-talk.com
Thu Mar 13 15:16:17 EDT 2008


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





More information about the use-livecode mailing list