Permissions for Uploads - more flexibility?
I am using Winscp ver 3.8.2 build 330.
I would like to be able to set the permissions separately for files (that are not directories) and directories.
When I upload something like this:
/dir1/dir2/file.txt
I would like the permissions on dir1 and dir2 to be 701 and the permission on "file.txt" to be 604.
I use WindowsXP to do the uploads. The target of the uploads is a Unix type system (web hosting site). The best I have been able to manage is to set permissions 604 with "add x for directories". I think file.txt needs read permission on it to allow download, but I definitely want *only* execute (enter) permission on the directories to disable "browsing".
Is there a way to do this "automatically" for each upload?
I would like to be able to set the permissions separately for files (that are not directories) and directories.
When I upload something like this:
/dir1/dir2/file.txt
I would like the permissions on dir1 and dir2 to be 701 and the permission on "file.txt" to be 604.
I use WindowsXP to do the uploads. The target of the uploads is a Unix type system (web hosting site). The best I have been able to manage is to set permissions 604 with "add x for directories". I think file.txt needs read permission on it to allow download, but I definitely want *only* execute (enter) permission on the directories to disable "browsing".
Is there a way to do this "automatically" for each upload?