Back to product page
- Introduction
- License agreement
- Getting Started
- Objects
- Enumerations
- wodFtpDLX
- Methods
- Abort
- About
- AppendData
- AppendFile
- AppendFileFrom
- CheckDir
- ClearCommandChannel
- Connect
- DeleteFile
- DeleteFiles
- Disconnect
- GetAttributes
- GetData
- GetDate
- GetFile
- GetFileAt
- GetFileAt64
- GetFiles
- GetSize
- ListDir
- ListNames
- LocalCRC
- LoopFiles
- MakeDir
- PutData
- PutFile
- PutFileAt
- PutFileAt64
- PutFiles
- RawReceived
- RawSend
- Refresh
- RemoteCRC
- RemoveDir
- Rename
- SetAttributes
- SetAttributes64
- Site
- Properties
- Account
- Arrange
- AscIITranslation
- Authentication
- BackColor
- Blocking
- BorderVisible
- BufferSize
- Certificate
- ClientName
- ColumnCount
- ColumnHeader
- Columns
- ColumnWidth
- Compression
- ContextMenu
- DirFormat
- DirItems
- Enabled
- Encryption
- EncryptionList
- ErrorText
- FIPS
- ForeColor
- HMacList
- Hostname
- IconView
- ItemSkip
- KeepAlive
- LastError
- ListItem
- ListParams
- LocalCertBag
- LocalPath
- Login
- MaxDataPort
- MaxTransferRate
- MinDataPort
- MyHostname
- MyIP
- Notification
- Passive
- Password
- PasvPort
- Port
- Protocol
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- RemotePath
- Resume
- SecureMethod
- ShellIcons
- SmartGet
- SmartPut
- SortItems
- SSLCipherList
- State
- StateText
- StrictHost
- TabStop
- Tag
- Timeout
- Timezone
- TransferMode
- TransferRate
- TransferTime
- UseIPv6
- UTF8Encoding
- Version
- Events
- ActionCopy
- ActionDelete
- ActionDownload
- ActionMakeDir
- ActionNewFile
- ActionPaste
- ActionProperties
- ActionRename
- ActionSelect
- AfterViewChange
- Attributes
- Attributes64
- Banner
- BeforeViewChange
- Click
- ClientCertRequired
- Connected
- CryptoInformation
- DblClick
- Disconnected
- Done
- FileTransferData
- Focus
- FTPReply
- HostCertificate
- HostFingerprint
- KeyPress
- ListItems
- LoginChallenge
- LoopError
- LoopItem
- MenuClick
- PreTranslateCommand
- PreTranslateReply
- Progress
- Progress64
- ShowContextMenu
- SiteReply
- StateChange
- Methods
- IwodFtpNotify
- DirItem
- DirItems
- How to get support?
- Technical information
- Fast notifications interface
- Error list
- How to...
Attributes64 method
Called when wodFtpDLX retrieves file or directory attributes.
Type
NoneSyntax
- Basic
object.Attributes64 Owner, SizeLo, SizeHi, Uid, Gid, Permissions, AccessTime, ModificationTime
The Attributes64(object,Own,SizeLo,SizeHi,Uid,Gid,Permissions,AccessTime,ModificationTime) syntax has these parts:
The Attributes64(object,Own,SizeLo,SizeHi,Uid,Gid,Permissions,AccessTime,ModificationTime) syntax has these parts:
object | An expression evaluating to an object of type IwodFtpNotify. |
Own | An expression evaluating to an object of type IwodFtpNotify. |
SizeLo | A Long value. Lower long value of 64bit integer for the file/directory size. |
SizeHi | A Long value. Higher long value of 64bit integer for the 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 the file/directory. |
ModificationTime | A Date value. Determines last modification time for the file/directory. |
Remarks
This method is called only if you implemented IwodFtpNotify interface in your application, and wodFtpDLX.Notification property has received reference to instance of your implementation. This notification method is called as a result of GetAttributes method call. Once server returns information about requested file/directory, it will be parsed by wodFtpDLX and provided using this notification method. Permissions are defined by the POSIX standard. For a brief description please refer to the GetAttributes page. If you are retrieving information for files larger than 4.2GB, where remote file size cannot be presented using a long value, the Attributes64 notification method will be called instead of Attributes (the component will never call both of them). This is only done for compatibility with previous versions of our component. If you still want to use just one notification method, you should create code like this, that just wraps the new notification from the old one (code for VB):Private Sub Ftp1_Attributes(ByVal Owner As wodFtpDLXCom, 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 Owner, Size, 0, Uid, Gid, Permissions, AccessTime, ModificationTime
End Sub
Private Sub Ftp1_Attributes64(ByVal Owner As wodFtpDLXCom, 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
WARNING: in protocols other than SFTP this notification will return only limited subset of available attributes. Since there is no common way to retrieve all of them, only Size and ModificationTime are provided. Other values will hold -1 value.