Topic "www-data login"

Author Message



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,

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
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.
Martin Prikryl

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.

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License