curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. 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 himself.

Can server tell I'm using curl?

From: Gilles via curl-users <>
Date: Tue, 6 Apr 2021 13:37:42 +0200


(The site <> is missing a
search feature, so I can't tell if the question has — most likely — been
asked before.)

I'm using the following to try and download a picture from a site that
first requires logging on:

curl.exe -L -b cookies.firefox.txt -A "Mozilla/5.0 (X11; Linux x86_64;
rv:60.0) Gecko/20100101 Firefox/81.0" -o mypict.jpg

As you can see, I first used Firefox to log on, and used an extension to
export the cookies.

Is the command wrong, or is the server somehow able to tell I'm using
curl to forbid its use? I'm having the same problem with wget (but it
might not understand the cookies file.)

Thank you.

PS: FWIW, here's what the cookies file looks like:

# Netscape HTTP Cookie File    TRUE    /    TRUE    0    __cfduid
d79da270734bb7edbffe3aa0aa1617703540    FALSE    /    FALSE    0 BIGipServeracme-web_POOL   
13264714.0.0000    FALSE    /    FALSE    0    IDstack    %2C25801%2C    FALSE    /    TRUE    0    bblastvisit    16106268    FALSE    /    TRUE    0    bblastactivity    0    FALSE    /    FALSE    0    bbsessionhash
777e8c348e6085766c0333b83648    FALSE    /    FALSE    0    vbseo_loggedin    yes    FALSE    /    TRUE    0    bbgsess
%2B21telUApnVbrpW4KHZMhQ4lWLDa4k4eg8YeQ0mA%3D%3D    FALSE    /    FALSE    0    _ibs
0:kn5ux65i:68e6708a-b31-4f9b-9151-0310a248ab    FALSE    /    FALSE    0    _ibp

Received on 2021-04-06