Topic "Change Owner of a directory by script"

Author Message
[View user's profile]

Joined: 2010-11-06
Posts: 3

how can ich change the owner of a dirctory form root to mobile by script.

in my script i have following:

put private\var\mobile\Documents\www\ /private/var/mobile/Documents/

the folder www should be switched from owner root to mobile

thanks for help!
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26331
Location: Prague, Czechia
There's no script command for that. But you may try to execute corresponding command using "call" script command:
Martin Prikryl

You can post new topics in this forum

Search Site

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