Hi
May I know if there are classes to implement an ftp server using fpc on Windows?
Warm regards
Nataraj

Mailing lists / fpc-pascal / 2010-05
5 messages · 3 people ·
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hi
May I know if there are classes to implement an ftp server using fpc on Windows?
Warm regards
Nataraj
Nataraj S Narayan het geskryf:
May I know if there are classes to implement an ftp server using fpc on Windows?
I know the Indy components comes with clients and servers for just about any tcp, udp and raw sockets as well as over 100 higher level protocols. FTP Server being one of them.
http://www.indyproject.org/Sockets/fpc/index.EN.aspx
http://wiki.lazarus.freepascal.org/index.php/Indy_with_Lazarus
Regards,
- Graeme -
Hi Graeme
Installed it from indyproject.org, using the .lpk. But no components are shown in the IDE. Any clues?
regards
Nataraj
Nataraj S Narayan het geskryf:
Installed it from indyproject.org, using the .lpk. But no components are shown in the IDE. Any clues?
I don't use Indy at the moment, but would imagine there is some design time package that needs to be compiled and installed - so it registers in the IDE component palette.
But just because it is not registered with the IDE, doesn't mean you can't use those components from code (at runtime). I do this very often with EpikTimer, DCPCrypt, SqlDB, OnGuard etc... None are registered on the component palette in my setup but works fine in my applications.
Regards,
- Graeme -
i think you have to compile the .lpk in a certain order or something. i have similar problem - but you can still use the components. something along the lines of...
uses
idhttp;
private
idhttp: tidhttpclient;
form1.create()
begin
idhttp:=tidhttp.create(self);
end;its not as easy as to get started with, but you can still get the job done. you might find an ftp server example in indydemos which will help until design-time issue is resolved.
HTH