Back to product page
- Introduction
- Overview
- License agreement
- Getting Started
- Objects
- Enumerations
- wodFTPD
- Methods
- Properties
- Authentication
- BindIP
- BindIPType
- Certificate
- DirFormat
- Encryption
- EncryptionList
- FileLocking
- FIPS
- ForceUTF8
- GoodbyeMessage
- GreetingMessage
- HMacList
- HostKeyList
- KeyExchangeList
- MaxDataPort
- MinDataPort
- MonitorTransfers
- MyHostname
- MyIP
- Notification
- PasvPort
- Port
- Protocol
- Secure
- ServerName
- SFTPVersion
- Status
- StrictDataIP
- Threads
- Timeout
- UseIPv6
- Users
- Version
- VirtualFiles
- VirtualFolders
- Events
- wodFTPDNotify
- FtpUser
- FtpUsers
- VirtualFile
- VirtualFiles
- VirtualFolder
- VirtualFolders
- How to get support?
- Technical information
- Fast notifications interface
- Error list
FileData property
Holds file data as byte array.
Type
An array of Byte values.Syntax
- Basic
object.FileData [= value()]
The FileData(object,value()) syntax has these parts:
The FileData(object,value()) syntax has these parts:
object | An expression evaluating to an object of type VirtualFile. |
value() | An array of Byte values. Holds raw file data. |
Remarks
FileData property returns contents of your virtual file through byte array (C++ users should use it as SAFEARRAY(unsigned char) values). When you write to FileData property, wodFTPServer creates temporary file, points ResolvedPath property to that file, and dumps your raw bytes to it.When you read FileData property, wodFTPServer just reads from ResolvedPath file and returns it as an array.