wavget
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.
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.
did you check the samples from the indy homepage ?
here are the links:
http://www.indyproject.org/download/Borland.html
eg. for INDY 6 ...
http://www.indyproject.org/indy/demodownloads/I9D6_Demos_24Nov02.zip
http://www.indyproject.org/download/Borland.html
eg. for INDY 6 ...
http://www.indyproject.org/indy/demodownloads/I9D6_Demos_24Nov02.zip
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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Oops - please excuse the extra "False;" line in just after the FileExists check... it's just a typo.