wodFtpDLX ActiveX Control - GetSize Method
      
 

Description
Retrieves file or folder size.

Return Type

A Long value. Holds the size date of remote file, if used in blocking mode.  


Syntax

object.GetSize [RemotePath]



The GetSize Method syntax has these parts:

Part Description
object An expression evaluating to an object of type wodFtpDLX.
RemotePath Optional. A Variant value. Full path to a directory on the server.

Remarks

The GetSize method will retrieve information about a file or directory on the remote server, and will return its size. Result of the command will be provided in Attributes event which will be fired afterwards.

 
If Blocking property is set to True, GetSize will return lower 32 bits of the size (which is usually what you need) immediately so you can use it in scripting environment where events are not available.