I have a test sftp that is windows server based. But our productions server is linux and one of the requirement is that we set our file permission to "644" after we upload the file.
I am trying a command like secureftpconnection.ChangeMode("644", filepath). When i am testing locally i don't see any log entries on the sftp server that file permissions are being changed on windows.
To test on windows i tried secureftpconnection.ChangeMode("Attrib +H", filepath) and i dont see that working either.
My question is if i am doing this correctly or is there another method i should be using?