(01-08-2022, 07:39 PM)enriquepsmac Wrote: Hello i working on lazarus ineed get a list f folders on ftpserver but allways show me empty list
The code looks fine to me. Did you verify the server is actually sending a non-empty list to begin with? What does TIdFTP.ListResult actually contain? Do you have any IdFTPListParse... units in your uses clause? What is the value of TIdFTP.DirFormat after TIdFTP.DirectoryListing has parsed TIdFTP.ListResult?