Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.2k views
in .NET FTP by (1.9k points)
According to your documentation:

"Unlike other similar implementations, ExFTPConnection allows multiple operations to be queued. In other words, multiple Begin operations may be invoked without delay. They will be processed in the order in which they're added. They will all be executed on the same thread and the callback methods will be invoked between each operation."


Please explain some further details. For example, what is the queue size? Is there a maximum to the queue? Can I still get a callback to a function to trace the results of each of upload operations?

Also can I still upload simultaneously a number of files to the same server at the same time if it allows so?

Thanks

1 Answer

0 votes
by (51.6k points)
what is the queue size? Is there a maximum to the queue?

There is no inbuilt maximum size, so this would be limited only by memory.

Can I still get a callback to a function to trace the results of each of upload operations?

Yes, you can pass an AsyncCallback in with each request (i.e. BeginXXX invocation), which will be called when the operation is complete. You can also handle the various events (e.g. Downloading, Downloaded, Uploading, Uploaded) to keep track of things.

Also can I still upload simultaneously a number of files to the same server at the same time if it allows so?

No, operations are done sequentially on a single FTP connection. If you want multiple simultaneous operations then you will require several instances of ExFTPConnection and split the tasks between them yourself.

- Hans (EnterpriseDT)

Categories

...