Back to product page
- Introduction
- Overview
- License agreement
- Getting Started
- Objects
- Enumerations
- wodSFTP
- Methods
- Abort
- About
- AppendData
- AppendFile
- Connect
- DeleteFile
- DeleteFiles
- Disconnect
- ExtendedCmd
- GetAttributes
- GetData
- GetDataAt
- GetFile
- GetFileAt
- GetFiles
- ListAttributes
- ListDir
- ListNames
- LoopFiles
- MakeDir
- PutData
- PutDataAt
- PutFile
- PutFileAt
- PutFiles
- RealPath
- RemoteClose
- RemoteOpen
- RemoteRead
- RemoteWrite
- RemoveDir
- Rename
- SetAttributes
- SetAttributes64
- Properties
- Authentication
- Blocking
- BufferSize
- ClientName
- Compression
- Encryption
- EncryptionList
- ErrorText
- Extensions
- FingerPrint
- FIPS
- HMacList
- Hostname
- KeepAlives
- KeyExchangeList
- KeySignatureList
- LastError
- ListItem
- LocalPath
- Login
- MaxTransferRate
- MyHostname
- MyIP
- Notification
- Password
- Port
- PrivateKey
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- RemoteIdentification
- RemotePath
- Resume
- ServerErrorCode
- ServerErrorText
- State
- StateText
- Timeout
- Timezone
- TransferMode
- TransferRate
- TransferTime
- UseIPv6
- Version
- Events
- Methods
- IwodSFTPNotify
- SftpItem
- SftpItems
- How to get support?
- Technical information
- Fast notifications interface
- Error list
Attributes64 event
Fires when wodSFTP retrieves file or directory attributes.
Syntax
- Basic
Private Sub object_Attributes64(SizeLo, SizeHi, Uid, Gid, Permissions, AccessTime, ModificationTime)
The Attributes64(object,SizeLo,SizeHi,Uid,Gid,Permissions,AccessTime,ModificationTime) syntax has these parts:
The Attributes64(object,SizeLo,SizeHi,Uid,Gid,Permissions,AccessTime,ModificationTime) syntax has these parts:
object | A wodSFTP object. |
SizeLo | A Long value. Lower long value of 64bit integer for file/directory size. |
SizeHi | A Long value. Higher long value of 64bit integer for file/directory size. |
Uid | A Long value. User ownership for the file/directory. |
Gid | A Long value. Group ownership for the file/directory. |
Permissions | A Long value. Information about user/group rights. |
AccessTime | A Date value. Determines last access time for file/directory. |
ModificationTime | A Date value. Determines last modification time for file/directory. |
Remarks
This event is fired as a result of the GetAttributes method. Once the server returns information about the requested file/directory, it will be parsed by wodSFTP and provided using this event.Permissions are defined by the POSIX standard. For a brief description, please refer to the GetAttributes help page.
In case you are retrieving information for files larger than 4.2GB, where the remote file size cannot be presented using a long value, the Attributes64 event will be fired instead of Attributes (the component will never fire both of them). This is only done for compatibility with previous versions of our component. If you still want to use just one event, you should create code that just wraps the new event from the old one (sample code for VB):
Code sample
- Basic
Private Sub Sftp1_Attributes(ByVal Size As Long, ByVal Uid As Long, ByVal Gid As Long, ByVal Permissions As Long, ByVal AccessTime As Date, ByVal ModificationTime As Date)
Sftp1_Attributes64 Size, 0, Uid, Gid, Permissions, AccessTime, ModificationTime
End Sub
Private Sub Sftp1_Attributes64(ByVal SizeLo As Long, ByVal SizeHi As Long, ByVal Uid As Long, ByVal Gid As Long, ByVal Permissions As Long, ByVal AccessTime As Date, ByVal ModificationTime As Date)
' add real code here
End Sub
Sftp1_Attributes64 Size, 0, Uid, Gid, Permissions, AccessTime, ModificationTime
End Sub
Private Sub Sftp1_Attributes64(ByVal SizeLo As Long, ByVal SizeHi As Long, ByVal Uid As Long, ByVal Gid As Long, ByVal Permissions As Long, ByVal AccessTime As Date, ByVal ModificationTime As Date)
' add real code here
End Sub