Back to product page

AttributesEvent event


Fires when wodSFTP.NET has information about file attributes.

Syntax

  • C#
  • VB.NET
delegate void AttributesDelegate(object Sender, AttributesArgs Args);
The AttributesEvent(Args.AccessTime,Args.Gid,Args.ModificationTime,Args.Permissions,Args.Size,Args.Uid) syntax has these parts:
Args.AccessTimeDateTime class that represents when was file/directory last accessed.
Args.GidLong. Group ID - ID of group owner.
Args.ModificationTimeDateTime. Class that represents when was file/directory modified.
Args.PermissionsLong. POSIX representation of file access permissions.
Args.SizeLong. Size of file in bytes.
Args.UidLong. User ID - ID of the owning user.

Delegate Sub AttributesDelegate(ByVal Sender As Object, ByVal Args As WeOnlyDo.Client.SFTP.AttributesArgs)
The AttributesEvent(Args.AccessTime,Args.Gid,Args.ModificationTime,Args.Size,Args.Uid) syntax has these parts:
Args.AccessTimeDateTime class that represents when was file/directory last accessed.
Args.GidLong. Group ID - ID of group owner.
Args.ModificationTimeDateTime. Class that represents when was file/directory modified.
Args.SizeLong. Size of file in bytes.
Args.UidLong. User ID - ID of the owning user.

Remarks

This event is fired as a result of GetAttributes method. Once server returns information about requested file/directory, it will be parsed by wodSFTP.NET and provided using this event.

Permissions are defined by POSIX standard. For a more brief description, to to GetAttributes help page.

Platforms

Windows