> My ftp client sends "list -latr" and "-latr" is the content of > PATH after processing for Params, so the problem seems > to be in BuildFilePath.
"list -latr" and "-latr" are non standard FTP commands. The bug is into your client. Sorry. -- [EMAIL PROTECTED] http://www.overbyte.be ----- Original Message ----- From: "brian" <[EMAIL PROTECTED]> To: <twsocket@elists.org> Sent: Friday, August 05, 2005 5:48 AM Subject: [twsocket] found odd error in FtpSrv not listing directory contentswith amd64 > I recently upgraded my computer to an AMD64 and put my hands on an ftp server > I had worked on some time ago, to find out it wasn't sending the ftp client the files list. After some debugging I located the problem here: > > in FtpSrv.pas, at procedure TFtpServer.BuildDirectory > > if Params = '' then > Path := Client.Directory + '*.*' > else > if (UpperCase(Params) = '-LA') or (UpperCase(Params)='-AL') then begin > ListHidden := TRUE; > Path := Client.Directory + '*.*'; > end > else > Path := BuildFilePath(Client, Client.Directory, Params); > > My ftp client sends "list -latr" and "-latr" is the content of PATH after > processing for Params, so the problem seems to be in BuildFilePath. > > Any come across this problem and knows what's wrong ? > -- > To unsubscribe or change your settings for TWSocket mailing list > please goto http://www.elists.org/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be > -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be