Discuss (FTP), (FTP on .NET CF) and (FTPS, SFTP and SCP).

ftpLocalFileList filter

no avatar
User

newm2156

Posts

36

Joined

Sat Sep 23, 2006 1:11 am

ftpLocalFileList filter

by newm2156 » Fri Feb 27, 2015 7:07 am

Is there any way to filter the ftpLocalFileList in edtFtpPro to exclude thumbs.db and allow all other files to be visible?
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: ftpLocalFileList filter

by support2 » Fri Feb 27, 2015 11:35 pm

Have you tried using the CustomFilter property?
no avatar
User

newm2156

Posts

36

Joined

Sat Sep 23, 2006 1:11 am

Re: ftpLocalFileList filter

by newm2156 » Fri Feb 27, 2015 11:40 pm

no avatar
User

newm2156

Posts

36

Joined

Sat Sep 23, 2006 1:11 am

Re: ftpLocalFileList filter

by newm2156 » Sat Feb 28, 2015 5:43 am

no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: ftpLocalFileList filter

by support2 » Sat Feb 28, 2015 6:31 am

There's a CustomFilter property in FTPFileList, the base class.
no avatar
User

newm2156

Posts

36

Joined

Sat Sep 23, 2006 1:11 am

Re: ftpLocalFileList filter

by newm2156 » Sun Mar 01, 2015 2:12 am

no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: ftpLocalFileList filter

by support2 » Sun Mar 01, 2015 2:51 am

You only need to assign the property once, when you create the list.
no avatar
User

newm2156

Posts

36

Joined

Sat Sep 23, 2006 1:11 am

Re: ftpLocalFileList filter

by newm2156 » Mon Mar 02, 2015 12:26 am

no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: ftpLocalFileList filter

by support2 » Mon Mar 02, 2015 11:48 pm

no avatar
User

newm2156

Posts

36

Joined

Sat Sep 23, 2006 1:11 am

Re: ftpLocalFileList filter

by newm2156 » Tue Mar 03, 2015 11:50 pm

no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: ftpLocalFileList filter

by support2 » Wed Mar 04, 2015 12:01 am

No, just use your previous IsFileDB code, i.e. private bool IsFileDb(FTPFile file).
no avatar
User

newm2156

Posts

36

Joined

Sat Sep 23, 2006 1:11 am

Re: ftpLocalFileList filter

by newm2156 » Wed Mar 04, 2015 12:07 am


Who is online

Users browsing this forum: Google [Bot] and 21 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign
cron