Autor Beitrag
white-desert
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 16



BeitragVerfasst: Di 19.12.06 08:58 
Hallo,

Ich habe das folgende Problem:

Ich will einen abgebrochenen Download fortsetzen, habe alle
Empfehlungen im Internet ausprobiert - nichts funktioniert! Mein Code:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
         {------------------------------------------} 
         { Den FileStream fuer den Resume erstellen } 
         {------------------------------------------} 
         if FileExists(Zieldatei) then 
         begin 
           Fs := TFileStream.Create(Zieldatei, fmOpenReadWrite); 
           Fs.Position := Fs.Size; 
         end 
         else 
           Fs := TFileStream.Create(Zieldatei, fmCreate); 

         {------------------------------------------} 
         { Ab der gewissen Position anfangen        } 
         {------------------------------------------} 
         Ftp.Get(Quelldatei,&...Fs, True); ;
         Ftp.KillDataChannel;


Ich habe auch ohne Filestream, also direkt mit
ausblenden Delphi-Quelltext

versucht, aber es will nicht funktionieren!

Ich wuerde mich sehr freuen, wenn mir jemand helfen koennte!

Meine Indy-Version: 10.0.2151.25345 [<-- Vielleicht liegt es an der
Indy-Version???]

Meine Programmierumgebung: Borland Developer Studio 2006

Danke im Voraus!
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10183
Erhaltene Danke: 1256

W10ent
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Di 19.12.06 10:11 
Moin!

Kannst du denn mit einem "normalen" FTP-Client einen Download von diesem Server fortsetzen? Resume muss auch der Server unterstützen, sonst geht das eh nicht. ;)

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
white-desert Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 16



BeitragVerfasst: Di 19.12.06 11:04 
user profile iconNarses hat folgendes geschrieben:
Kannst du denn mit einem "normalen" FTP-Client einen Download von diesem Server fortsetzen? Resume muss auch der Server unterstützen, sonst geht das eh nicht.

Ja, die Property CanResume ist True und mit SmartFTP geht der Resume einwandfrei.