curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder Daniel himself.

403 Forbidden Error

From: Brian Walsh via curl-users <curl-users_at_lists.haxx.se>
Date: Thu, 16 May 2024 20:55:15 +0000

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
Received on 2024-05-16