| Dart Home | PowerTCP FTP for ActiveX | Custom Development | Reply | PowerTCP FTP for ActiveX Topics | Forums |
| Author | Forum: PowerTCP FTP for ActiveX Topic: Listing Entries |
| brookniebauer From: Indianapolis, IN USA Posts: 6 Member Since: 12/26/03 |
posted January 28, 2004 10:43 AM I am using the following sample code from your help file. I get an error stating (699): 'Entries' is not a member of 'Dart.PowerTCP.Ftp.Listing'. ' Retrieve file list. Listing details will be contained in the Listing Object Dim list As Dart.PowerTCP.Ftp.Listing list = Ftp1.List("*", True) ' Iterate through the listing, adding a row to the ListBox for each Dim le As Dart.PowerTCP.Ftp.ListEntry For Each le In list.Entries ' Display files only If le.Type = Dart.PowerTCP.Ftp.EntryType.File Then Dim cols() As String = {le.Path + le.Name, le.Size.ToString(), le.TimeStamp} ListView1.Items.Add(New ListViewItem(cols)) End If Next |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 28, 2004 10:54 AM That's an error in the Help file. It should just be "For Each le in list". Please look at the sample applications for working examples. In the future, please make sure that you post in the appropriate forum. This forum is for the FTP tool. You have FTP for .NET. Also, to report documentation bugs there is a link at the bottom of each page that allows you to report them directly to the author. I have reported this one. |
| brookniebauer From: Indianapolis, IN USA Posts: 6 Member Since: 12/26/03 |
posted January 28, 2004 10:58 AM Thanks Tony. |
| Reply | PowerTCP FTP for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|