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 <[EMAIL PROTECTED]>:
Hi William,

put fld results into url "ftp://user:[EMAIL PROTECTED]/ 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
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to