Uploads, CHMOD and FTP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Toneboy
Forum Contributor
Posts: 102
Joined: Wed Jul 31, 2002 5:59 am
Location: Law, Scotland.
Contact:

Uploads, CHMOD and FTP

Post by Toneboy »

Well thanks to the help of a number of users here I have figured out how to upload files. I've now tinkered a fair bit and have also figured out how to make a listing of links to all these files, as well as receive e-mail notifications whenever a file is uploaded. All working very nicely. :)

Just one thing remains. Although I can access the files through the web I can't download them through my FTP package (CuteFTP). The files are listed correctly in the correct directory, At the moment my uploads directory is CHMOD-ed to 0777. I've done a bit of reading about - should 0755 be the correct setting for this?
User avatar
CAN007
Forum Newbie
Posts: 9
Joined: Fri Jun 06, 2003 2:00 pm
Location: Toronto, Ontario, Canada

Max file size

Post by CAN007 »

Have you encounted problems with max file size being uploaded?
Galahad
Forum Contributor
Posts: 111
Joined: Fri Jun 14, 2002 5:50 pm

Post by Galahad »

I think what you actually want to do is make sure that each file that is uploaded gets chmod'ed to allow all users to read the file.
McGruff
DevNet Master
Posts: 2893
Joined: Thu Jan 30, 2003 8:26 pm
Location: Glasgow, Scotland

Post by McGruff »

What does CuteFTP have to say about the owner/group?
Post Reply