Go Back   FlashFXP Forums > > >

Suggestions Post suggestions for upcoming versions

Thread Tools Display Modes
Old 11-07-2005, 12:22 PM   #1
Senior Member
FlashFXP Beta Tester
Join Date: Dec 2003
Posts: 421
Default Selective Transfer behavior

Basically, the selective transfers file/directory mask matching is un-greedy. This can cause some files to be mishandled, so i guess my suggestion is to make the patturn matching greedy.

Example, set a mask such as include *.bmp. Try to download a folder with a file something like "picture.bmp.bmp" or "picture.bmpidx.bmp" and it will be ignored. (the un-greedy comparison matches *.bmp to picture.bmp, then immediately sees there is more to the string so passes over it mishandling the file, a greedy method would try to match the biggest string possible rather than the shortest as it does now)
DayCuts is offline  
Old 11-07-2005, 01:51 PM   #2
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
bigstar's Avatar
Join Date: Oct 2001
Posts: 8,012

This appears to be a bug introduced when the pattern matching routine was replaced with a faster version. During compairison testing this was an oversight.

I have modified the routine to resolve this issue. It will be in the next build.

Thanks, Great find!
bigstar is offline  
Old 11-07-2005, 09:34 PM   #3
Senior Member
FlashFXP Beta Tester
Join Date: Dec 2003
Posts: 421

Great, thought maybe you were using a non-greedy grep or something.
DayCuts is offline  

download, greedy, matching, selective, string

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 09:09 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)