Hi,

I need to change the file permissions via code of an htaccess file used in WordPress.

I've looked far and wide but haven't come up with anything. It's obviously possible since FTP apps can do it. But how I keep asking myself!

Thanks in advance for any help,


MrGreggles

If ou are used to unix like filepermissions they may be a bit hard to find. Check out the System.Security.Permissions.FileIOPermission class.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.