Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File attributes on NT server

Status
Not open for further replies.

dutch62

Programmer
Dec 31, 2001
58
NL
Hi all,

I'm rather new to PHP, so maybe this question is really stupid :)

On a Unix server, I can change the file attributes easily with my FTP program, but on a NT server this doesn't work. Suppose I want to write some data to a text file on a NT server. What do I have to do to change the file attributes?

Greetz, Dutch
 
There's nothing you can do from the client side.

Your FTP login userid will require write permissions to the directory on the NT box ______________________________________________________________________
TANSTAAFL!
 
I spoke to another programmer about this today, and he thought it was possible with a standard PHP function.
For instance, on a unix server you can do
Exec("chmod 777 $some_file");
Is there a similar function for changing file attributes on NT?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top