October 5th, 2000, 11:08 AM
I'm sort of new to this.
I'm using win98-apache-php3-mysql
How I change file atributes on ftp or php scripts??
Thanks for your help
October 5th, 2000, 12:23 PM
Try the "attrib" command in DOS.
To change foobar.php from read-only to archive:
attrib +a -r foobar.php
a = archive
r = read-only
h = hidden
s = system
+ = enable
- = disable
If you do just "attrib +a foobar.php", then your foobar.php would be both "archive and read-only".
Or you can download UNIXDOS from -> http://www.profsoftware.com/unixdos/ud07.htm
[This message has been edited by freebsd (edited October 05, 2000).]
October 5th, 2000, 01:29 PM
Thanks for your help freebsd
hmmm,I have a question though. Can I use
chmod 755 (for instance) from within Cuteftp, given that I set up a ftp server in my Win machine?
October 5th, 2000, 01:39 PM
No you can't. BTW, why you need to change the file attribute where the default one "a" is just fine?
If you happen to install UNIXDOS to your win32 box and create a custom command "chomd" to your cuteftp client, the ftp server still wouldn't understand such command in a win32 environment even though "chmod" is in your path after a successful install of UNIXDOS.