Re: Directory permissions.
I ment if I pressed F7 and then input the directory name and pressed "ok".
Option to specify initial permissions for new directory is on the wishlist. Currently the server assigns some default permissions.
I found also one more problem. If I set upload preferences to e.g. "rw-rw----" and in the window that appears after pressing F5 I uncheck "Set permission" check box then the rights are set regardless the state of the "Set permission" check box to "rw-rw----".
If you uncheck "set permissions", the server assigns default permissions to new files (the same case as with new directories). If you specify other permissions like "rw-rw-rw-" and uncheck "set permissions" on upload confirmation window, the right should be again rw-rw----, as it is probably the default permissions for your server. If that's not true, let me know.
Back to the directory upload problem: When client creates new file/directory with SFTP protocol, it may specify its initial permissions. I have already found that OpenSSH SFTP server does not reflect permissions of new uploaded files specified this way, so I have changed it to set permissions explicitly after the file is completely uploaded and closed. So far I have not noticed that the same problem applies to new-directories as well. I have implemented the workaround already in the same manner as with files. Thanks. If you want I may provide you "fixed" version (contact me on my email address).