| Dart Home | PowerTCP FTP for .NET | Custom Development | Reply | PowerTCP FTP for .NET Topics | Forums |
| Author | Forum: PowerTCP FTP for .NET Topic: Best practice get +1000 files |
| Sven Hasselblad From: Jonkoping, NT Sweden Posts: 1 Member Since: 04/28/04 |
posted April 28, 2004 8:26 AM Hi I'm evaluating PowerTCP FTP for .Net and is wondering about the best way to recive a large number of files. right now am I using the following code (works great on few files, haven't tested on large number of files) //___________________________________________ foreach (DataRow r in dataSet11.Table1.Rows) { ftp1.Get(r.ItemArray[0].ToString(), destinationPath + r.ItemArray[0].ToString()); } //____________________________________________ Best regards /Sven Hasselblad |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted April 28, 2004 8:50 AM You can do what you are doing or you can retrieve the files in one call using wildcards. However, it doesn't really matter, since the bottleneck would be at the network layer anyway. Either way the same number of network commands have to be sent. |
| Reply | PowerTCP FTP for .NET Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|