Topic "Change Owner of a directory by script"

Author Message
Jens1980
[View user's profile]

Joined: 2010-11-06
Posts: 3
Hi,

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!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
There's no script command for that. But you may try to execute corresponding command using "call" script command:
https://winscp.net/eng/docs/scriptcommand_call
_________________
Martin Prikryl
Advertisements

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License