jwhiteman1967
asked on
FTP file permissions and IUSR
I want to ftp a file from another server, then allow an ASP page read the file and use the data in it. It is a plain text file but I am getting permission errors. When I reset the permissions manually I can read it. I need the permissions to be rest for the IUSR automatically.
How do I do this?
How do I do this?
ASKER
I am getting a file from one server and placing it on MY server. Then I want to manipulate it once it is on MY server. I set the IUSR settings on the file and it WORKED, BUT I had to do it manually. When the file is deleted or renamed the new file when I download again has to have the permissions set all over again. the directory has the correct permissions but is not allowing access.
The Directory where the file is placed has Read/Write settings enabled. I should be able to read it but I cannot.
The Directory where the file is placed has Read/Write settings enabled. I should be able to read it but I cannot.
Hi,
Does the IUSR user have read permissions on the folder the file is created in by the ftp server?
Andy
Does the IUSR user have read permissions on the folder the file is created in by the ftp server?
Andy
ASKER
After downloading the File Owner is listed as the Admin, but I need it to be the IUSR
ASKER
Yes the IUSR has read permissions, but when the file is downloaded the IUSR account is not included in the groups that are allowed to access the file
ASKER
The owner of the folder it the IUSR but when the batch file downloads the datafile the owner of the file is the Administrator. This is the problem. How do I get around it?
Hi,
Is the file being downloaded by this server or is it being sent to this server?
Andy
Is the file being downloaded by this server or is it being sent to this server?
Andy
ASKER
The file is being downloaded by MY server.
Ah, is that a scheduled job? If so try setting the scheduled job to run as a different user, preferably the IUSR.
Files created by a job will be owned by the job owner.
Andy
Files created by a job will be owned by the job owner.
Andy
ASKER
I will try that.
ASKER
Window won't let me allow the IUSR to make a scheduled item. Tells me I don't have perm. Funny though I am logged in as admin
ASKER
Found answer... Found a script that would let me change the permissions at will.
How to use Xcacls.vbs to modify NTFS permissions
http://support.microsoft.com/kb/825751
How to use Xcacls.vbs to modify NTFS permissions
http://support.microsoft.com/kb/825751
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You need to ensure the folder the file is placed in has the right permissions, ie. the root folder for the ftp site.
Andy