- IdFTP1.Connect;
- try
- IdFTP1.List(ADest);
- finally
- IdFTP1.Quit;
- end;
DGL https://delphigl.com/forum/ |
|
ftp client control for use with turbodelphi https://delphigl.com/forum/viewtopic.php?f=19&t=6013 |
Seite 1 von 1 |
Autor: | noeska [ So Okt 08, 2006 19:28 ] |
Betreff des Beitrags: | ftp client control for use with turbodelphi |
What way should i go for an ftp client control for use under turbo delphi win32? Use ttcpclient control and write an ftp client control on top of that? Is this already done? As it seems to me this would take a lot of time? Can the indy components be used? And so how? Any simple examples to get me started? Thanks for your answers in advance! |
Autor: | luketheduke [ Mo Okt 09, 2006 20:18 ] |
Betreff des Beitrags: | |
No thing stops you - and nobody intends to do so - from unpacking the indys, adding them to your library path and using them from your source. |
Autor: | noeska [ Mo Okt 09, 2006 20:59 ] |
Betreff des Beitrags: | |
Ok i am a little spoiled with gui components. ![]() Also i discovered that the indy is present in C:\Program Files\Borland\BDS\4.0\lib\Indy10 I need to use the tidftp component i think. But how do i use it from source. Hmm, i think i should be able to figure this out. An simple example would be nice though. |
Autor: | luketheduke [ Fr Okt 13, 2006 12:05 ] |
Betreff des Beitrags: | |
err... Code:
Like this? |
Autor: | noeska [ Fr Okt 13, 2006 18:06 ] |
Betreff des Beitrags: | |
I did not find out about onwork after creating an object like you did althoug i made the IdFTP1 a local var of the procedure. I did a list of the root like this: Code:
|
Autor: | luketheduke [ Fr Okt 13, 2006 18:22 ] |
Betreff des Beitrags: | |
The OnWork was just a random example, a few Indy componnts have it. You will rather have to assign OnList/OnGetFile/OnPutFile (or similar). and always keep in mind that the Indys work asynchronous and event-driven! |
Seite 1 von 1 | Alle Zeiten sind UTC + 1 Stunde |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |