Re: Permission..
Well I thought it was possible to inherite the remote servers permissions.
For example, if I upload files to folder htdocs/somefolder/somefiles.something I would like the files that I have uploaded to "inherite" the permissions.
In this case, owner "www-data" and group somegroup.
Not possible?
It depends on how your server treats the permissions. But WinSCP does not instruct the server in any way, what the owner/group should be like. So if they are not inherited, then your server obviously does not do that.
Or do I have to change the permissions later on after uploading with chown manually?
You may be able to change ownership from WinSCP. See documentation.