* * *

Author Topic: Lnet FTP problem with large files in Win64  (Read 5051 times)

cybersmyth

  • Jr. Member
  • **
  • Posts: 50
Re: Lnet FTP problem with large files in Win64
« Reply #15 on: March 16, 2011, 01:38:00 am »
In the "else" part where the downloading is "finished" add a condition like this (code from visual example):
Code: [Select]
      FFile.Write(Buf, i);
    end else if FDLDone + i >= FDLSize then begin // done whole file
      // file download ended

FYI... I tried this technique in my original routine and it's working great in Windows now!

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads