Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.2k views
in .NET FTP by (260 points)
Apologies if this is a stupid newbie question, but I've tried searching the examples, help files, and this forum, and I'm getting nowhere.

I get a list of files like this:

Dim detailedFileList() As FTPFile = ftpConn.GetFileInfos


But I can't figure out how to access any of the field values

4 Answers

0 votes
by (162k points)
Look at the properties, not the fields. The fields are protected or private.

e.g. see here
0 votes
by (260 points)
Well don't I feel like an idiot? I suppose I just got so fixated on working out how to retrieve the 'file
0 votes
by (162k points)
If you want to write a subclass, you need access to the protected members of the superclass.
0 votes
by (260 points)
Ah, that makes sense.

Well thank you very much for your help and I'm sorry to have troubled you with such a dumb question. :)

Categories

...