Hi
I have a problem with a directory containing a few hundred pdf files - I wanted to back them all up to my local machine but a lot of them won't transfert by ftp - only by http
when i looked at their file permissions, the one that i can't get by ftp have a permission set to 0600
what i want to do is to change all of the pdf files in the directory to 0777 - but when i try to do this with Dreamweaver or FileZilla it doesn't work - it just gets refused
so ... I need to write a small php file that will use chmod() for all the files in the directory that i can upload to the server - but i don't know how to write the code to get the names of all the pdf files
is there a simple function for this ?
thanks