Link to home
Start Free TrialLog in
Avatar of wavget
wavgetFlag for United States of America

asked on

Indy Trivial FTP Client/Server Example

I'm looking for an example on how to use the Indy Trivial FTP client and server components to upload and download a file.

Get and Put with the client seems clear enough, but I'm unsure how to handle the requests in te server.

Thanks in advance,

D2.
Avatar of BdLm
BdLm
Flag of Germany image

did you check the samples from the indy homepage ?
Avatar of wavget

ASKER

First of all, Delphi comes with an example of both a TrivialFtp Server and Client, I just didn't think to look there at first :)

I downloaded the demo from indyproject.org but I am unable to find a TrivialFtp example in it.

My biggest question is how do I handle OnRead and OnWrite in the server.
ASKER CERTIFIED SOLUTION
Avatar of NickRyan
NickRyan

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of NickRyan
NickRyan

Oops - please excuse the extra "False;" line in just after the FileExists check... it's just a typo.