Framework EDI Reference. Methods and Properties
ediTransport. GetDirectory

Gets a listing of files and folders at a specified location on a remote server.

Syntax:

Returns:

If the connection to the server is successful, an object of type FREDI.ediFiles is returned, even if there are no files or subdirectories in the specified path.  If connection to the server fails, or other transport mechanism fails, the method returns NULL or an empty object is returned.

Remarks:

Currently this method applies only to FTP transport.  The path where the directory of files and folders is to be retrieved is specified by the TargetPath property.  This path becomes the current working directory at the remote site after executing this method.