Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Dec : Re: Looking for a good FTP component

www.cryer.info
Managed Newsgroup Archive

Re: Looking for a good FTP component

Subject:Re: Looking for a good FTP component
Posted by:"Boian Mitov" (mit..@mitov.com)
Date:Tue, 12 Dec 2006 16:59:23

   Here are my settings. With those some PNG files are sent corrupted.
It may be bug in the version I downloaded the other day from the ICS
site. Maybe you have a different version.

   object FtpClient: TFtpClient
     Timeout = 15
     MultiThreaded = False
     HostName = DELETED
     Port = 'ftp'
     DataPortRangeStart = 0
     DataPortRangeEnd = 0
     LocalAddr = '0.0.0.0'
     UserName = DELETED
     PassWord = DELETED
     HostDirName = '/'
     DisplayFileFlag = False
     Binary = True
     ShareMode = ftpShareExclusive
     Options = [ftpAcceptLF]
     ConnectionType = ftpDirect
     OnProgress = FtpClientProgress
     BandwidthLimit = 10000
     BandwidthSampling = 1000
     Left = 393
     Top = 57
   end

Angus Robertson - Magenta Systems Ltd wrote:
>
> ICS will only send files in ASCII mode if you tell it to do so.  I mostly send zip files and they are never corrupted.
>
> Instead of just complaining and repeating yourself, try the executable demo that I suggested before, you will find it works and it's your use of the ICS components that is wrong.  Hundreds of other people use the ICS FTP component and don't get corrupted files.
>
> Angus

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive