edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing

SecureFTPConnectionChangeGroup Method

[SFTP Only] Changes the group of the specified file or directory.

Definition

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
public void ChangeGroup(
	int groupID,
	string path
)

Parameters

groupID  Int32
 
path  String
the path to the file/directory on the remote server

Remarks

Only numerical group ids are supported currently. Use ExecuteCommand to run a Unix command on the server if required (e.g. chgrp). Not all servers will permit this command.

See Also