wodFTPServer ActiveX Control - FileData Property
      
 

Description

Holds file data as byte array.


Property type

An array of Byte values.  


Syntax

object.FileData [= value()]



The FileData Property syntax has these parts:

Part Description
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.