Login  
Search All Forums
Dart Home | PowerTCP FTP for .NET | Custom Development Reply | PowerTCP FTP for .NET Topics | Forums   
AuthorForum: PowerTCP FTP for .NET
Topic: Multiple file but one file at a time.
sirajsalim

From: Karachi, Pakistan
Posts: 2
Member Since: 12/01/04
posted December 1, 2004 2:37 AM

We are having a serious problem doing following.

we have a requirement of having download multiple files but one file at a time . because the FTP server contains many files out of which we need some files to be downloaded based on our business logic / criterion.(using file name)

When ever i call a get method, it creates a connection against the FTP. now the issue is that it creates connection against every get request which is called from within a loop. The exception that occurs is "Operation in progress".

What do you suggest? how to resolve this issue? as we do "synchronous" downloading and we can not have unnecessary delay.

Please respond at ur earliest.
Thankx in advance.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted December 1, 2004 7:14 AM

Just use multiple FTP controls. You should take a look at the Transfer Manager sample which does pretty much exactly what you want.
Reply | PowerTCP FTP for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX