How to exclude certain file extensions and file sizes ?

Need help with FileZilla Client? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
thoste
226 Transfer OK
Posts: 64
Joined: 2005-12-04 12:26

How to exclude certain file extensions and file sizes ?

#1 Post by thoste » 2011-08-01 19:35

I want to transfer a huge file directory tree from the remote site to the local computer.

However certain file extensions (e.g. *.avi and *.mpg) should NOT be copied.
Moreover files with a size greater than 300KB should NOT be copied as well.

How EXACTLY can I exclude these find of files from being transferred/copied in a ftp download with filezilla?

Thomas

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

Re: How to exclude certain file extensions and file sizes ?

#2 Post by boco » 2011-08-01 20:04

Use the filename filters (menu View). Items filtered this way not only vanish from listings, but will also be excluded from transfers.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

thoste
226 Transfer OK
Posts: 64
Joined: 2005-12-04 12:26

Re: How to exclude certain file extensions and file sizes ?

#3 Post by thoste » 2011-08-01 20:31

boco wrote:Use the filename filters (menu View). Items filtered this way not only vanish from listings, but will also be excluded from transfers.
Ok thank you but I have still some difficulties:

I set up a rule

Filter out all files ends with .avi

but got later an error popup: "Invalid regular expression '*.avi': quatifier operand invalid"
What's wrong?

Furthermore I would like to know in which units the file size has to be entered? In pure bytes?
That would mean filter out files with a file size greater than 100000 would mean filter auf files greater than 100kb. Right?

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

Re: How to exclude certain file extensions and file sizes ?

#4 Post by boco » 2011-08-01 20:59

I tested and it works, no error. Did you maybe select Regular Expression? Note that an asterisk has no meaning as wildcard here.
fzfilter.png
fzfilter.png (47.9 KiB) Viewed 15697 times
File sizes are in bytes. Your 100000 example only applies if you assume 1KB=1000B. Most people in reality mean 1KiB=1024B. So you'd enter 102400 for 100KiB.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

thoste
226 Transfer OK
Posts: 64
Joined: 2005-12-04 12:26

Re: How to exclude certain file extensions and file sizes ?

#5 Post by thoste » 2011-08-02 07:31

Ok, thank you.

And how do I apply a new (or modified) filter to the current (running) queue (which contaisn 24352 files)?

Do I really have to stop everything and start from beginning?

Thomas

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

Re: How to exclude certain file extensions and file sizes ?

#6 Post by boco » 2011-08-02 08:26

Already queued items are not affected. You could selectively delete from the queue, or delete and re-queue the items with the filter applied.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

Post Reply