delphi xe - How to increase Indy idFTP buffer? -



delphi xe - How to increase Indy idFTP buffer? -

the onftpwork event fires idftp. if writes disk waste of time. there way increment buffer write disk not 1 time per second?

you can set tidftp.iohandler.sendbuffersize , tidftp.iohandler.recvbuffersize properties before performing transfer. copied iohandler used transfer connection.

or can utilize tidftp.ondatachannelcreate event set adatachannel.iohandler.sendbuffersize , adatachannel.iohandler.recvbuffersize properties.

or can implement tfilestream derived class uses buffered file i/o internally, don't have mess tidftp's buffers.

delphi-xe indy

Comments

Popular posts from this blog

php - How to pass multiple values from url -

database - php search bar when I press submit with nothing in the search bar it shows all the data -

ios - How to load .png images from Documents folder of an app -