Link to home
Start Free TrialLog in
Avatar of gt9
gt9

asked on

downloading specific content type using wget

How can I download files of specific content-type using wget? I don't want to use -A as it just checks for filename extension and not actual file content type. Also, wget will be called from perl program.
My idea was to get header/content-type and then search for content-type information and then download.

Any suggestions?

-
GT.
ASKER CERTIFIED SOLUTION
Avatar of ahoffmann
ahoffmann
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial