Jump to content

FTP file permission issue


Recommended Posts

Posted

Hi,

 

I download a text file daily from the Weather Bureau using a small batch

file and FTP. The file is saved in the same folder as the batch file.

Unfortunately, the file is not inheriting the security details from the

folder which means users don't have access to it. If I manually change the

security on the file by selecting "Allow inheritable permissions from the

parent etc." then users have access. But as soon as the file is refreshed,

that option is unselected and users no longer have access.

 

Is there a way to either ensure a new file with the same name as the

original will inherit the security settings from the folder? Alternatively,

can I use my batch file to set the security on this file after downloading?

 

Thanks,

 

John

  • Replies 1
  • Created
  • Last Reply

Popular Days

Posted

Re: FTP file permission issue

 

Issue resolved by using CACLS in the batch file.

 

Thanks,

 

John

 

"John" <john_corangamite@hotmail.com> wrote in message

news:Ofm4GlNdIHA.1212@TK2MSFTNGP05.phx.gbl...

> Hi,

>

> I download a text file daily from the Weather Bureau using a small batch

> file and FTP. The file is saved in the same folder as the batch file.

> Unfortunately, the file is not inheriting the security details from the

> folder which means users don't have access to it. If I manually change the

> security on the file by selecting "Allow inheritable permissions from the

> parent etc." then users have access. But as soon as the file is refreshed,

> that option is unselected and users no longer have access.

>

> Is there a way to either ensure a new file with the same name as the

> original will inherit the security settings from the folder?

> Alternatively, can I use my batch file to set the security on this file

> after downloading?

>

> Thanks,

>

> John


×
×
  • Create New...