403 Forbidden Error

Brian Walsh via curl-users <[email protected]>
Newsgroups gmane.comp.web.curl.general
Message-ID <YT3PR01MB105258CC0CC9D1D57A8394DA6BCED2@YT3PR01MB10525.CANPRD01.PROD.OUTLOOK.COM>
Hello,

I'm very new to using curl and I'm trying to set up a batch file to download images from a website. The website is here: http://gfaarchive.info/gfaArchive.php.

I want to download images such as: http://gfaarchive.info/gfa/gfacn32/20240517T0600_cldwx_012.png

I've tried multiple commands but nothing seems to work.

If I just do curl http://gfaarchive.info/gfa/gfacn32/20240517T0600_cldwx_012.png -o gfa00.png<http://gfaarchive.info/gfa/gfacn32/20240517T0600_cldwx_012.png%20-o%20gfa00.png>, it downloads a 2kb file that isn't the image.

I've read about using the referrer command, but I can't seem to get that to work.

Any help would be appreciated.

Thanks

Brian


Classification: Protected A

-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.