file filters are great but I have questions

Come here to discuss FileZilla and FTP in general

Moderator: Project members

Post Reply
Message
Author
Chuckie
504 Command not implemented
Posts: 11
Joined: 2015-04-20 16:49
First name: Chuck
Last name: Spi

file filters are great but I have questions

#1 Post by Chuckie » 2020-07-08 20:46

With file filters, is there a way to put more than one per line? Is there a limit on how many? Is there a method of adding them via text file?

User avatar
boco
Contributor
Posts: 25334
Joined: 2006-05-01 03:28
Location: Germany

Re: file filters are great but I have questions

#2 Post by boco » 2020-07-08 22:08

With file filters, is there a way to put more than one per line?
Not sure what you mean. One line, one filter expression. You can associate multiple filters logically (AND, OR, NAND, NOR).
Is there a limit on how many?
The dev needs to answer that. Even if there is no hard limit, things might get slow with many filters.
Is there a method of adding them via text file?
Filters are saved in filters.xml - currently you cannot export or import them from the GUI. You need to work directly with filters.xml.
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

User avatar
botg
Site Admin
Posts: 33242
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: file filters are great but I have questions

#3 Post by botg » 2020-07-09 07:55

The limit on the amount of filters is your available memory. Performance impact scales linearly with the number of filters.

Chuckie
504 Command not implemented
Posts: 11
Joined: 2015-04-20 16:49
First name: Chuck
Last name: Spi

Re: file filters are great but I have questions

#4 Post by Chuckie » 2020-07-09 08:47

I should have posted an example sorry. With the photo example I posted on this reply. When I clicked OK and Apply, it did take it. I didn't get an error. Some sites I don't need but certain file to check. The site is a bit over 800 gb. The files I need however are all over. Even doing a search recursively takes forever and since on certain ones get checked on certain days it is a tediously job and very time consuming no matter how I do it. But if this can be done it would help.

Chuckie
504 Command not implemented
Posts: 11
Joined: 2015-04-20 16:49
First name: Chuck
Last name: Spi

Re: file filters are great but I have questions

#5 Post by Chuckie » 2020-07-09 08:50

Image sorry , was too fast on the trigger.
Attachments
filezilla Filters.jpg
filezilla Filters.jpg (6.33 KiB) Viewed 1279 times

User avatar
boco
Contributor
Posts: 25334
Joined: 2006-05-01 03:28
Location: Germany

Re: file filters are great but I have questions

#6 Post by boco » 2020-07-09 14:48

If you want to show only those files:
filter_onlyshow.jpg
filter_onlyshow.jpg (18.85 KiB) Viewed 1258 times

If you do not want to show the files:
filter_dontshow.jpg
filter_dontshow.jpg (19.56 KiB) Viewed 1258 times

In your example, the filename would literally have to end with ".lnk, .txt, .exe, .pdf". All characters are valid in filenames, even on Windows. As I said, one expression per line.
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

Post Reply