Recent

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

cybersmyth

  • Jr. Member
  • **
  • Posts: 51
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!

 

TinyPortal © 2005-2018