PDA

View Full Version : FTP'ing


wisenerl
2004-11-19, 18:28 PM
Hi,

I have working on my new windows server from serverbeach and I have to say its pretty cool. I could never handle linux.

However, 1 problem I have is with permissions.

I want to move that file to my own desktop and have since managed to e-mail it myself which is fine.

But along the way I simpy tried to put the file in the httpdocs folder of one of the domains and them simply download it via FTP, but when I tried to download it it said "permission denied".

I can download any files I directly uploaded so thats no problem.

So obviously if I transfer a file directly to a virtual folder it does not set the permissions to allow the user to download it.

The only problem I see with this is that I was going to place items like phpBB, mambo etc on my server desktop and then move them to the customers directory for ease of setup.

So how would I ensure that files I move from the servers desktop to the customers httpdocs folder have the permissions set correctly?

Thanks for any help!

Lee

vbgamer45
2004-11-22, 16:23 PM
Right click on the ftp site in IIS goto to permissions. Make sure the account that you are using is on the list is added and then make sure it has the permisisons that you want it to.

Right click on the ftp site and goto to properties
Goto Home Directory tab and set the access that you wish.
Read, Write

KyleMulligan
2004-11-22, 18:10 PM
IIS also follows NTFS ACL permissions. So, check the security tab of the folder proprties dialog for the directory you're trying to upload to.

flc
2004-11-24, 09:06 AM
Another way to have the file get the proper permissions automatically is to copy it to the directory instead of just moving it or using cut and paste.

More detailed explanation...
It seems that you are emailing the file to yourself and downloading it from your email to your server. At this point it inherits the permissions of the folder where you save it and puts you, the administrator, as the owner. When you move a file it will retain the original permissions regardless of where you put it, but if you copy and paste the file you are creating a brand new file and it will inherit the permissions of the destination folder.