CFtp.Directory Method | |
Create an array of directory and file information about the remote FTP server.
Namespace:
VO
Assembly:
VOInternetClasses (in VOInternetClasses.dll) Version: 2.19
Syntax VIRTUAL METHOD Directory(
cFile,
nFlags
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual Directory(
Usual cFile = default,
Usual nFlags = default
)
Request Example
View SourceParameters
- cFile (Optional)
- Type: Usual
The file specification for the search. Besides a file name, this specification can include an optional drive, directory, and extension.
The file name and extension can include the standard wildcard characters (* and ?).
If you do not specify a drive and directory, the Windows defaults are used. If you do not specify any file name, '*.*' is assumed.
- nFlags (Optional)
- Type: Usual
** missing parameter documentation **
Return Value
Type:
Usual
An array of subarrays, with each subarray containing information about each file matching
cFileSpec. The subarray elements are referenced as shown in the example under the CFtp:ConnectRemote() Method section.
Remarks
This method returns information about files in the current or specified directory. You can use it to perform actions on groups of files.
See Also