Example topics
/ Getting a remote folder's contents (Delphi example)
In This Topic
Getting a remote folder's contents (Delphi example)
In This Topic
This example demonstrates the 8 following steps for listing files with the GetFolderContents method:
Specify the FTP server's address
Specify the username to login
Specify the password for the username
Connect to the FTP server
Obtain the directory listing object
Disconnect from the FTP server
Process the listed items
Perform error handling
The following code assumes you have placed an XceedFtp control and a Listbox on a form and have called them 'XceedFtp1' and 'Listbox1' respectively (the default names)