Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Guest

Thanks for the reply.

That answer my question. A post-transfer script when using SFTP would have indeed been what I was looking for.

I'll handle 'www-data''s permissions manually.
martin

Re: www-data login

Can you elaborate on "login as 'www-data' when using SFTP without having to modify 'www-data' user's settings"?

There's possibility to execute commands post-login with the FTP protocol only.

No post-transfer commands.
hell0world

www-data login

Hi,

First post here.

To begin with, congratz on the amazing software. I'm hosting a few websites here and there and WinSCP is in my top-list when it comes to managing files remotely.

Now I have a simple (I think) question for you guys :

I'd like to know if there is any way to either login as 'www-data' when using SFTP without having to modify 'www-data' user's settings or if there's a way to run a script at logon or when adding/copying files trough WinSCP to automagically set the owner/group to 'www-data'. That'd save time when editing website files.

Many thanks,

Pierre-Luc