Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2010-05

ftp server

5 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Nataraj S Narayan

Hi

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

Warm regards

Nataraj

Graeme Geldenhuys
to Nataraj S Narayan

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 -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/
Nataraj S Narayan
to Graeme Geldenhuys

Hi Graeme

Installed it from indyproject.org, using the .lpk. But no components are shown in the IDE. Any clues?

regards

Nataraj

Graeme Geldenhuys wrote 26 lines
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 - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-pascal maillist  -   http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Graeme Geldenhuys
to Nataraj S Narayan

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 -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/
Vannus
to Graeme Geldenhuys

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

Graeme Geldenhuys wrote 26 lines
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 - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal