Need to change file permission after SFTP
hi There,
Unable to change file permission.
Unable to change file permission.
Last edited by Jagadish.vr on 2014-10-07 09:01; edited 1 time in total
Advertisement
Advertisement
What is the problem? Any error message? Or you do not know how?
TransdferOptions
configured to set the permissions. I.e. your original code that you have just removed.
Session.SessionLogPath
. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.Advertisement
Please attach a session log file showing upload of the file with theTransdferOptions
configured to set the permissions. I.e. your original code that you have just removed.
To generate log file, setSession.SessionLogPath
. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
TransferOptions
configured to set the permissions. I.e. your original code that you have removed from your very first post. That's the only way that works.
$filePermissions.FilePermissions.Octal = 644
. This won't work. It's read-only by purpose.
Advertisement
You can post new topics in this forum