Page 1 of 1

How Should a Double File Extension Be Treated

Posted: Fri May 27, 2016 5:44 pm
by therube
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.)

Re: How Should a Double File Extension Be Treated

Posted: Fri May 27, 2016 5:48 pm
by therube
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.

Re: How Should a Double File Extension Be Treated

Posted: Fri May 27, 2016 5:50 pm
by therube
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.

Re: How Should a Double File Extension Be Treated

Posted: Fri May 27, 2016 5:55 pm
by therube
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/