求
求学生???
Unregistered / Unconfirmed
GUEST, unregistred user!
请问各位高手:
TIDFtp 上传是否支持断点续传
我写的这段代码不行,请高手们指点:
var
ASoureStream:TFileStream;
tSize:integer;
begin
ASourceStream:=TFileStream.Create(FileName,fmopenRead or fmsharedenyNone);
tSize:=AFtp.size(DestFile); //已上传的文件大小
ASourceStream.seek(tSize,sobegin);
AFtp.put(ASourceStream,DestFile,true
end
TIDFtp 上传是否支持断点续传
我写的这段代码不行,请高手们指点:
var
ASoureStream:TFileStream;
tSize:integer;
begin
ASourceStream:=TFileStream.Create(FileName,fmopenRead or fmsharedenyNone);
tSize:=AFtp.size(DestFile); //已上传的文件大小
ASourceStream.seek(tSize,sobegin);
AFtp.put(ASourceStream,DestFile,true
end