Re: Getting/putting multiple files at the same time

Giganews Newsgroups
Subject: Re: Getting/putting multiple files at the same time
Posted by:  Remy Lebeau (Indy Team) (no.spam@no.spam.com)
Date: Sun, 1 Oct 2006

"Clément Doss" <cdoss@nospam.dhs.com.br> wrote in message
news:C3DEECEEF709E340cdoss@nospam.dhs.com.br...

> Can this be done with one TidFtp

No, it cannot.

> or I must create one thread for each connection.

Yes.

> Does fibers apply to this case?

The FTP protocol itself cannot handle more than 1 file at a time per
connection.  You need multiple connections in order to transfer multiple
files simultaneously (assuming the server itself allows multiple connections
per user account).  As far as fibers are concerned, that will only help you
optimize your thread usage, but you will still need multiple FTP
connections.

Gambit

Replies

In response to

Getting/putting multiple files at the same time posted by Clément_Doss on Sun, 01 Oct 2006