How Should a Double File Extension Be Treated

General discussion about the FlashGot extension for Firefox

How Should a Double File Extension Be Treated

Postby therube » Fri May 27, 2016 5:44 pm

How Should a Double (or more) File Extension Be Treated?

FlashGot Options -> File Extensions

> 7z, Add
> Apply file extension to batch downloads too

URL: http://www.securemecca.com/public/Changes4Hosts/

FlashGot All

This picks up both *.7z and *.7z.sig.

Should it be picking up the latter?
(You could always add a "sig" extension if you wanted them.)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:43.0) Gecko/20100101 SeaMonkey/2.40
User avatar
therube
Ambassador
 
Posts: 6907
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: How Should a Double File Extension Be Treated

Postby therube » Fri May 27, 2016 5:48 pm

Add an extension "40".

URL: http://ftp.mozilla.org/pub/seamonkey/releases/2.40/win32/en-US/

FlashGot All

Picks up all the files in the directory, including the parent directory entry too.

-------

URL: http://ftp.mozilla.org/pub/seamonkey/releases/2.39/win32/en-US/

FlashGot All

Nothing (rightfully) is picked up.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:43.0) Gecko/20100101 SeaMonkey/2.40
User avatar
therube
Ambassador
 
Posts: 6907
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: How Should a Double File Extension Be Treated

Postby therube » Fri May 27, 2016 5:50 pm

Suppose all in all, it doesn't really matter.
Just that results that are being returned as not as one might expect.
Though once you understand just what is happening, easy enough to adjust for it.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:43.0) Gecko/20100101 SeaMonkey/2.40
User avatar
therube
Ambassador
 
Posts: 6907
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: How Should a Double File Extension Be Treated

Postby therube » Fri May 27, 2016 5:55 pm

And its not really a "file extension" that is being recognized, but rather something more like "(\.\w)?", such that an extension of "5" picks up everything from here:

http://ftp.mozilla.org/pub/phoenix/releases/0.5/
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:43.0) Gecko/20100101 SeaMonkey/2.40
User avatar
therube
Ambassador
 
Posts: 6907
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA


Return to FlashGot General

Who is online

Users browsing this forum: No registered users and 6 guests