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:52:53 EDT 2008


William,

If you're simply trying to upload a file, it has nothing to do with  
CHMOD and uploaded files automatically get the right persmissions,  
unless it is an executable. Why do you think it has to do with CHMOD?

  I'd rather think that you have a router and/or firewall that's  
causing problems. Make sure that port 21 is open and use

libURLSetFTPMode "passive"

Actually, I have some problems with FTP myself, using the Tiger  
firewall and shared internet, even if I use passive FTP (regardless of  
whether I use Revolution or any other programme). So, I'm not sure the  
solution is obvious, but let's hope someone else on this list dealt  
with the problem before. The easiest way would probably be to (be able  
to) open all outgoing ports.

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:30, William de Smet wrote:

> 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
>>
> _______________________________________________
> 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