Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Feb : Re: FTP Server problems using Indy 9 and Delphi 5.

www.cryer.info
Managed Newsgroup Archive

Re: FTP Server problems using Indy 9 and Delphi 5.

Subject:Re: FTP Server problems using Indy 9 and Delphi 5.
Posted by:"Frankie" (frankjohnsson20..@yahoo.se)
Date:Mon, 26 Feb 2007 19:53:21

Remy Lebeau (TeamB) skrev:
> "Frankie" <frankjohnsson2000@yahoo.se> wrote in message
> news:45e2f1ec$1@newsgroups.borland.com...
>
>> 1. Are people still using Indy to work with Internet stuff?
>
> Yes.
>
>> 2. Iīm using Delphi 5 and Indy 9.0.19. And i would LOVE if someone
> has a
>> demo showing an FTP Server. Found an old demo but it lacks a lot of
> futures.
>
>> AppDir:=edtDirSearchPath.Text;
>
> That is not thread-safe.

Please explain what you mean? Is this the reason why i canīt download
big files from my ftp server?

>
>> 4. How can i find out the ip of the user who logs in?
>
> ASender.Connection.Socket.Binding.PeerIP/
>
>> 5. How can i detect client logging off.
>
> There is no specific event for that.  TIdFTPServer handles the QUIT
> command internally by simply closing the connection.
>
>> I found that the TidFTPServer "OnDisconnect" event is not the way to
> go.
>
> Why not?  It is triggered when a connection with the client is closed.

Yes, but it seems my FTP server closes the client after the client runs
a LIST command, because it logs in again if i try to download a file.

>
>
> Gambit

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive