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?
Microsoft IIS Web ServerWeb Applications
Last Comment
andygarratt
8/22/2022 - Mon
andygarratt
Hi,
You need to ensure the folder the file is placed in has the right permissions, ie. the root folder for the ftp site.
Andy
jwhiteman1967
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.
andygarratt
Hi,
Does the IUSR user have read permissions on the folder the file is created in by the ftp server?
After downloading the File Owner is listed as the Admin, but I need it to be the IUSR
jwhiteman1967
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
jwhiteman1967
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?
You need to ensure the folder the file is placed in has the right permissions, ie. the root folder for the ftp site.
Andy