Back to product page

AttributesDataEvent event


Fires when wodSFTP.NET has information about file attributes as a structure.

Syntax

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

Delegate Sub AttributesDataDelegate(ByVal Sender As Object, ByVal Args() As WeOnlyDo.Client.SFTP.AttributesArgs)
The AttributesDataEvent(Args[x].AccessTime,Args[x].Gid,Args[x].ModificationTime,Args[x].Permissions,Args[x].Size,Args[x].Uid) syntax has these parts:
Args[x].AccessTimeDateTime. Class that represents when was file/directory last accessed.
Args[x].GidLong. Group ID - ID of group owner.
Args[x].ModificationTimeDateTime. Class that represents when was file/directory modified.
Args[x].PermissionsLong. POSIX representation of file access permissions.
Args[x].SizeLong. Size of file in bytes.
Args[x].UidLong. User ID - ID of the owning user.

Remarks

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

Platforms

Windows