I'm in the process of writing a script that will take a .csv file, convert it into a .dat file and then upload it to a linux server. This process needs to be automated as the .dat file is used by another department. I've got the upload working but the .dat file needs to have the permission level of '666' and so far it's only '644'.
Is this possible within PowerShell or do I need to stick with the vb script that I currently have?
Any help would be appreciated as this is beginning to really frustrate me.
I've checked the directory permission and it's set to 777 so it appears to be not inheriting those permissions. Could it be linked to the user details I have been given by the server hosts i'm using to upload the file?
The topic ‘Changing permissions on a file’ is closed to new replies.