what composants can I use and where can I download those ???
Thanks
You can use Indy to download files without showing any messages to the user.
J'espère ceci aide.
Gardner
Thanks
"Gardner Lloyd Bickford III" <Gar...@TriAxialData.com> a écrit dans le
message news: 3CEABD98...@TriAxialData.com...
> Have you an example ???
var AFtp: TIdFTP;
..
AFtp := TIdFTP.Create(Nil);
with AFtp do
begin
Host := 'ftp.acme.org';
Username := 'jdoe';
Password := 'secret';
Connect;
Get('/pub/path/filename.ext', 'c:\path\filename.ext');
Quit;
end;
AFtp.Free;
You need to include some exception handling, but that's basically it.
hth...
--
Don
Posted by ELKNews 1.0.4-B
Empower your News Reader! http://www.atozedsoftware.com
Thanks
"Don Siders [Team Indy]" <sid...@att.net> a écrit dans le message news:
0A28ACC5C74...@att.net...
try
IndyFTP.Connect;
except
// Here you can do whatever you want to inform the user of the error
end;
This will prevent Windows from showing the standard error message.
Note, that if you run your program from within Delphi, you will still see an
error message unless you uncheck "Stop at Delphi exceptions" at
Options/Debugger/Language exceptions.
Andy
--
Kyoto Now !