Sign in Join

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

Mailing lists / fpc-pascal / 2007-09

Client/Server file transfer

4 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

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

Stephen Dickason

I'm needing to create two programs, a client and a server that will take a file via command line parameter, compress, encrypt and send it from one computer to another (possibly over the Net) and decrypt, decompress and save file in original form. In Delphi I would probably use some of the ICS components, but seem to have problems compiling. It seems there is a socket unit in FPC with examples, but I haven't managed to get the 2.0.4 version working on my XP machine - doesn't seem to be firewall problem. For now the two programs don't need a GUI interface. Reason I need to make the programs is because ftp server is too insecure. I'm busy trying to get the latest versions of FPC to see if it works with them.

Any advice is welcome, thanks
Stephen
*-----------------------------------------------------------------------

This E-Mail may contain confidential and/or privileged information. It is only intended for the use of the addressee indicated in this message. If you are not an intended addressee of this email (or responsible for delivery of the message to such person), the disclosure, copying or delivering of the contents of this email to anyone else is strictly prohibited and may be unlawful. If you receive this e-mail by mistake destroy the message and please notify us immediately by e-mail,

Information or opinions in this message that do not relate to the business of ELCB Information Services shall be treated as neither given or endorsed by it.

*-----------------------------------------------------------------------

Reply by email

Stootch
to Stephen Dickason: I'm needing to create two programs, a client and a server that will take a file via…
Stephen Dickason wrote
In Delphi I would probably use some of the ICS

There are ports of ICS and Indy for FPC, but AFAIK they work under Windows only. If you are familiar with ICS you can choose lNet (first letter is 'L'), especially if you plan to build GUI applications with Lazarus.

OR

You can look at Filezilla client and server. Those programs support SFTP and on-the-fly compression, though server is available for Windows only.

Reply by email

Marco van de Voort
to Stootch
> In Delphi I would probably use some of the ICS There are ports of ICS and Indy for FPC, but AFAIK they work under Windows only.

The current version of Indy is available for most platforms, and works fine with Lazarus.

Reply by email