![]() |
Re: [IdFtp, IndyFTP] Download fortsetzen funtzt einfach nich
Ich hab' die IdFTP.Get-Methode umgeschrieben. So funktioniert sie wie gewünscht:
Delphi-Quellcode:
Viele Grüße,
procedure TIdFTP.Get(const ASourceFile: string; ADest: TIdStream; AResume: Boolean = False);
begin //for SSL FXP, we have to do it here because InternalGet is used by the LIST command //where SSCN is ignored. ClearSSCN; AResume := AResume and CanResume; if AResume then ADest.Position := ADest.Size else ADest.Position := 0; InternalGet('RETR ' + ASourceFile, ADest, AResume); end; Chris |
Re: [IdFtp, IndyFTP] Download fortsetzen funtzt einfach nich
Hallo,
habe selbst mal in den Source von INDY geschaut (IDFTP): procedure TIdFTP.Get(const ASourceFile: string; ADest: TIdStream; AResume: Boolean = False); begin //for SSL FXP, we have to do it here because InternalGet is used by the LIST command //where SSCN is ignored. ClearSSCN; AResume := AResume and CanResume; ADest.Position := 0; InternalGet('RETR ' + ASourceFile, ADest, AResume); end; Mit ADest.Position:=0; wird immer explizit vom Anfang her geladen, wenn mann diese Zeile auskommentiert, funktioniert auch der Vorschlag von Malibu. (und mein Problem war auch gelöst!) Schöne Grüße, |
Re: [IdFtp, IndyFTP] Download fortsetzen funtzt einfach nich
sorrry, meinte natürlich marabu!
|
Re: [IdFtp, IndyFTP] Download fortsetzen funtzt einfach nich
Habe das gleiche Problem, habe das ganze auch schon im Indy-Source ausgebessert, meine Frage wäre nun, muss ich die Indy-Komponenten neu kompilieren damits Wirkung zeigt? Wenn ja, wie, wo :drunken: ?
Danke im Vorraus Wiggles |
Re: [IdFtp, IndyFTP] Download fortsetzen funtzt einfach nich
*push*
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 11:44 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz