[SFTP Only] Changes the group of the specified file or directory.
Namespace: EnterpriseDT.Net.FtpAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40
Syntax
| C# |
|---|
public void ChangeGroup( int groupID, string path ) |
| Visual Basic |
|---|
Public Sub ChangeGroup ( _ groupID As Integer, _ path As String _ ) |
| Visual C++ |
|---|
public: void ChangeGroup( int groupID, String^ path ) |
Parameters
- groupID
- Type: System..::..Int32
- path
- Type: System..::..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.