If you try to write any kind of file from php, you will get a permission error if the folder you are saving the file to does not allow writing.
We are using a Linux server and they have permissions for read, write and execute for three categories:
user: This allows you to access, and create when you use FileZilla or dreamweaver
group: This is what you php program runs under
other: this you should leave alone, it allows access from other users
To correct permissions for either FileZilla or Dreamweaver, you must right click on the file in the remote (server) list of files and choose file permissions...
Then make sure that under group, that read and write are both checked.
Here is a short video showing how to do it in FileZilla: Setting Permissions
We are using a Linux server and they have permissions for read, write and execute for three categories:
user: This allows you to access, and create when you use FileZilla or dreamweaver
group: This is what you php program runs under
other: this you should leave alone, it allows access from other users
To correct permissions for either FileZilla or Dreamweaver, you must right click on the file in the remote (server) list of files and choose file permissions...
Then make sure that under group, that read and write are both checked.
Here is a short video showing how to do it in FileZilla: Setting Permissions
Last modified: Monday, October 11, 2010, 1:21 AM