Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FTP get list of folders
#2
(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?

Reply


Messages In This Thread
FTP get list of folders - by enriquepsmac - 01-08-2022, 07:39 PM
RE: FTP get list of folders - by rlebeau - 01-10-2022, 12:29 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)