Newsgroups : Borland : borland.public.delphi.internet.winsock : 2005 Jul : OnListdirectory for ftpserver

www.cryer.info
Managed Newsgroup Archive

OnListdirectory for ftpserver

Subject:OnListdirectory for ftpserver
Posted by:"Sham" (shamre..@inspirationmatters.com)
Date:Tue, 12 Jul 2005 18:16:21

Hi,

I have currently implemented tidFTPServer.OnListDirectory. What I find
strange is the APath in the method call : procedure
TimFTPServer.FTPServerListDirectory(ASender: TIdFTPServerThread;
  const APath: string; ADirectoryListing: TIdFTPListItems);

contains strings such as '\/\/\' (forward and backward slashes). Do I have
to parse these?

Also, my method OnRetrieverFileName has AFileName as '/filename.txt'. Do I
put the absolute path here?

Sham.

Replies:

www.cryer.info
Managed Newsgroup Archive